An Integer answer: 7.5 is asked again, so the check always works.
Integer inputDatatypes
Built from 3 kinds of block, between Start and End. Each one has a guide.
B4Coder writes the same program as real code. Change the flowchart in the editor and the code changes with it.
number = int(input("Enter a whole number "))if number % 2 == 0: print(str(number) + " is Even")else: print(str(number) + " is Odd")How each block becomes code: Python · Java · C++ · C# · JavaScript