F.Y.B.Sc Computer Science Python Practical
Practical no.1 Aim:Write a program to design and develop python program to implement various control statement using suitable examples program 1: Write a program to check whether the entered number is divisible by 3(use if statement ) i=int(input("Enter any number")) if(i%3==0): print("%d is divisible by 3" %i) Output: Enter any number9 9 is divisible by 3 Program 2:Write a program to check whether the entered number is divisible by 3 or not(use if-else statement) i=int(input("Enter any number: ")) if(i%3==0): print("%d is divisible by 3" %i) else: print(...