Re: Beginner: Trying to get REAL NUMBERS from %d command
%s got the job done!!! Thank you all for the info and links, I appreciate it! -- http://mail.python.org/mailman/listinfo/python-list
Beginner: Trying to get REAL NUMBERS from %d command
The code I wrote is supposed to ask the user to enter a number; Then tell the user what's going to happen to that number (x / 2 + 5) ; Then give the user an answer; I succeeded getting results from even numbers, but when I try diving an uneven number (i.e. 5) by 2, I get only the whole number (i.