Python Condition , 4. Write a Python program to check whether a number is divisible by 5 and 11 or not.
4.Write a Python program to check whether a number is divisible by 5 and 11 or not. Solution :- no1 = int(input("Enter the number :-")) if ((no1 % 5 ==0)and (no1 % 11==0)): print("The number is Divisible by 5 and 11") else: print("The number is not Divisible by 5 and 11") Output :-