r/pythontips • u/CantaloupeMinute580 • Jan 18 '26
Syntax Where do I enter input to get output?
Exactly what my question is. Apparently ive been putting my input in the console which is only where output goes? I looked other places and theyve described an "input box". But I dont think i see an input box? Just lines of code. I even put my code in there and output comes up with errors or its blank.
0
Upvotes
1
u/mrhippo85 Jan 18 '26
What interface/program are you using to try to write Python?
2
u/HonorableRogue Jan 18 '26
Basic example on how to use input:
1
u/Remote-Emphasis-2126 Jan 18 '26
In my input boxes for my scripts ill always put it like this
Variable = input('>') then there's a little pointer to see where your typing also putting a : before closing the string helps too just to make it that little bit pretty
1
u/Stunning_Pop_3574 Feb 08 '26
Sending you a dm, feel free to reply if you’d like any more help with your programming classes