Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Simple program output
-
I’m a beginner to python I have a question regarding this program myName = (input())
print(myName) can anyone tell me why the output to this program is the name I entered is displayed twice I can’t figure out why -
@AM1965 the input function sends your input to the console, that's your first line, the print function also sends your name to the console, that's your second line.
Perhaps, could you try this
import console myName = console.input_alert('enter your name') print(myName)
-
@cvp oh ok thank you