|
|
|
|
|
by Toutouxc
1293 days ago
|
|
> Is Python even or odd? > The required code is provided below. num = int (input (“Enter any number to test whether it is odd or even: “) if (num % 2) == 0: print (“The number is even”) else: print (“The provided number is odd”) Output: Enter any number to test whether it is odd or even: 887 887 is odd. The first sentence is not my query, it's a question that Google offers and answers in their useless box. |
|