Question: 10
Write a python script to take input for a number check and print whether the number is multiple of 7 and 11 not?
Sol:
n=int(input("Enter any no ")) if(n%7==0 and n%11==0): print("Number is multiple of 7 and 11") else: print("Number is not multiple of 7 and 11")
Question: 11
Write a python script to take input for a number check and print whether the number is multiple of 5 or 11 not?
Sol:
n=int(input("Enter any no ")) if(n%5==0 or n%11==0): print("number is multiple of 5 or 11") else: print("number is not multiple of 5 or 11")
Question: 12
Write a python script to take input for a number check and print whether the number is multiple of 5 and 7 not?
Sol:
n=int(input("Enter any no ")) if(n%5==0 and n%11==0): print("number is multiple of 5 and 11") else: print("number is not multiple of 5 and 11")