Python Programming Practical No 2
B. P. Sulakhe Commerce College, Barshi
Department
of Computer Science
PRACTICAL NO.2
Class: BCA-I (Sem-II)
Paper Name: Python Programming
Note: All questions are compulsory
|
Q 1) |
Write a python program to input any two numbers and find out Smallest number among these numbers. |
|
Q 2) |
Write a python program to print only even numbers between 0 to 50 using for loop |
|
Q 3) |
Write a python program to print 100 to 1 reverse natural numbers using while loop |
|
Q 4) |
Write a python program to print only odd numbers between 1 to 20 using for loop |
|
Q 5) |
Write a python program to input any number and find out given number is positive or negative using nested if-else |