grand Sex? Yes please. May 4, 2014 249 79 Dec 7, 2015 #1 Python noob here, Why isn't my 4*4 statement showing up when I run it? You must be registered for see links
Python noob here, Why isn't my 4*4 statement showing up when I run it? You must be registered for see links
JayC Well-Known Member Aug 8, 2013 5,505 1,401 Dec 7, 2015 #2 You need to put 4 times 4 in a print statement also... and you can do this in one line print ("4 Times 4 Equals " + (4 * 4) + "!.") Upvote 0 Downvote
You need to put 4 times 4 in a print statement also... and you can do this in one line print ("4 Times 4 Equals " + (4 * 4) + "!.")
grand Sex? Yes please. May 4, 2014 249 79 Dec 7, 2015 Thread starter #3 JayCustom said: You need to put 4 times 4 in a print statement also... Click to expand... It just comes out as "4*4" not "16" Upvote 0 Downvote
JayCustom said: You need to put 4 times 4 in a print statement also... Click to expand... It just comes out as "4*4" not "16"
RastaLulz fight teh power Staff member May 3, 2010 3,935 3,936 Dec 7, 2015 #4 AlexK said: It just comes out as "4*4" not "16" Click to expand... Don't put it in quotes, otherwise it will assume it's a string. Upvote 0 Downvote
AlexK said: It just comes out as "4*4" not "16" Click to expand... Don't put it in quotes, otherwise it will assume it's a string.
grand Sex? Yes please. May 4, 2014 249 79 Dec 7, 2015 Thread starter #5 RastaLulz said: Don't put it in quotes, otherwise it will assume it's a string. Click to expand... Thanks, it worked Upvote 0 Downvote
RastaLulz said: Don't put it in quotes, otherwise it will assume it's a string. Click to expand... Thanks, it worked