0% found this document useful (0 votes)
7 views1 page

Assignment 03

The document outlines several Python programming tasks including finding the greatest of three numbers, determining if a user-input integer is positive, negative, or zero, checking for leap years, identifying character types (uppercase, lowercase, digit, special character), and checking if a number is a multiple of 4 and 6 with corresponding outputs. Each task requires user input and specific conditional logic to produce the desired results. The document serves as a guide for basic Python programming exercises.

Uploaded by

praveenrao528
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

Assignment 03

The document outlines several Python programming tasks including finding the greatest of three numbers, determining if a user-input integer is positive, negative, or zero, checking for leap years, identifying character types (uppercase, lowercase, digit, special character), and checking if a number is a multiple of 4 and 6 with corresponding outputs. Each task requires user input and specific conditional logic to produce the desired results. The document serves as a guide for basic Python programming exercises.

Uploaded by

praveenrao528
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Find the Greatest of Three Numbers Using Shorthand if in Python

Take an integer input from the user and print whether it is positive, negative, or
zero

Get input from the user and check whether it's a leap year using the correct logic

Ask the user to input a character. Print whether it's:

●​ Uppercase letter
●​ Lowercase letter
●​ Digit
●​ Special character

Check if Number is Multiple of 4 and 6​


Input a number. Print:

●​ "Multiple of both" if divisible by 4 and 6


●​ "Multiple of 4 only"
●​ "Multiple of 6 only"
●​ "Not divisible"

You might also like