Professional Documents
Culture Documents
PROGRAMS
Faculty of
Management
Prepared By :- RAHUL POPAT Studies
Course:- B.COM (HONS.) SEM – 3
Enrolment No. :- 92100458007
Outline
Two Program
1. Write the Python Program to Check Whether the
Number is Positive, Zero or Negative.
2. Write the Python Program to find out Maximum of
Three Number.
1. Write the Python Program to Check Whether
the Number is Positive, Zero or Negative.
• Output 1
• Enter a number : 2.4
• Positive number
• Output 2
• Enter a number : 0
• Zero
• Output 3
• Enter a number : -12
• Negative number
2. Write the Python Program to find out Maximum
of Three Number.
• a = 5
• b = 15
• c = -100
• x = max(a, b, c)
• print(x)
Output
• 15
Thank You