x = int(input("Enter an integer value: "))
if x % 2 == 0:
Maybe your problem is that you are using the Python shell. Generally that it is only for testing one-liners. Write and run your programs from an IDE like IDLE (usually installed with your Python distribution), see: http://www.daniweb.com/forums/post104834-1.html
Help! I want to create a java program that finds the highest even integer among the values entered by the user. Stop asking values when a value less than 1 have been entered. If no even integer is entered, display "No Even Integer"
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them.
I don’t want at this stage work on a big separate project as I've already got plenty ...