Question: PYTHON 3.6 -I keep on getting error. I'm trying to show that a number that is entered if it is divisible by 2 and 3
PYTHON 3.6 -I keep on getting error. I'm trying to show that a number that is entered if it is divisible by 2 and 3 , then the program mentions that.

ne.py PychaMProjectS-Lo7 def even (): x = int (input ("Enter a number: ")) if(x%2== 0): return " Divisible by 2") while True: if (xS 3 return ("Divisible by 2 and 3") else: return ("Not divisible by 2 or 3") print (even ) Run: uppercase the /Library/Frameworks/Python.framework/Versions/3.6/bin/pyt Enter a number: 6 Divisible by 2 Process finished with exit code 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
