(Jul-12-2023, 07:30 AM)Heidi Wrote: I really do not understand what i'am doing wrong.You ask for a user input: x = input('Please enter an integer value: 2')
but a the same time you provide a suggested answer: "2".
You imagine that the system will accept 2, but it is part of the question string.
You need to do as menator01 suggests, or the simple way:
x = input('Please enter an integer value: ')and type the answer yourself.
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.