+ 2
What did i wrong, i want use my own edit
When i want programming my "own" editor i write. x = input("How old are u?" ) print(x) The cmd always closes when i write 20 and prrss enter
11 Answers
+ 2
Phython3
+ 2
My comp is doing updates right now but i will try it and thank u
+ 2
but i thik the input in the end will make when i press enter it closes too
+ 2
I tried the input() it worked:) thank u all.
+ 2
No it is the dataname and than C:users/etc.
+ 1
add another line
input()
Also show the full code if that doesn't work.
+ 1
it is the full code and i have to say i start the program than cmd opends so i dont give anything exept the input in
+ 1
Did you try adding input() at the end ?
+ 1
when you run it you should do like this
python3 appName.py
Are you doing it like that ?
0
Is this Python2 or Python3
0
There is nothing wrong here Sonke. Only thing that could be is that print function is not supported in Python2. Instead try
print x