Math, asked by ranveerverma709, 9 months ago

04.Write a program to input a number and check whether it is divisible by both the numbers 4
and 5 or not​

Answers

Answered by Anonymous
1

Answer:

#program for given question in python

x=int(input("Enter a number:"))

if x%4==0 and x%5==0:

    print("Divisible by both")

else:

    print("Not divisible by both")

HOPE IT HELPS,

PLEASE THANK , FOLLOW AND MARK AS BRAINLIEST.

Similar questions