0

Hello im on IDLE python on my laptop and when i want to write print('...') and then a new line I must to push enter.but when I..

Push enter it gave me the result for 1 line but i want to print on second line , explain me

31st Jul 2020, 12:56 PM
Kir-Py
Kir-Py - avatar
10 Answers
+ 3
Kir-Py what is the problem in Gordon 's answer?đŸ€” You can use \n in strings too print("a\nb") Output: a b
31st Jul 2020, 2:40 PM
Namit Jain
Namit Jain - avatar
+ 3
Kir-Py Ohh now I understood! You just press ctrl+N An empty page will open up! Start coding there and when you want to see the output Just press f5
31st Jul 2020, 3:01 PM
Namit Jain
Namit Jain - avatar
+ 3
Kir-Py That is command prompt! And you want to make a code instead of giving commands
31st Jul 2020, 3:09 PM
Namit Jain
Namit Jain - avatar
+ 2
But that shouldn't have happened! Please check if your IDE is working perfectly! >>> print("python") python >>> This should come in IDLE
31st Jul 2020, 2:47 PM
Namit Jain
Namit Jain - avatar
+ 1
Command prompt isnt a playground? Ok and thank you very much for helping me âœŒïžđŸ‘đŸ‘đŸ‘đŸ‘
31st Jul 2020, 3:10 PM
Kir-Py
Kir-Py - avatar
0
Gordon im using a string
31st Jul 2020, 1:07 PM
Kir-Py
Kir-Py - avatar
0
You don understand me ,when im printing command print and when enter , it gave me result of the command print but not the new line
31st Jul 2020, 2:44 PM
Kir-Py
Kir-Py - avatar
0
Yes but If for example print('hi')and when I want to have a new line for example 1print('hi') 2...=(...) After command print im pushing enter and I cant writing After the Print command Others line because after enter are coming the results of the First line
31st Jul 2020, 2:51 PM
Kir-Py
Kir-Py - avatar
0
Ok but why i cant coding on the first page of idle?
31st Jul 2020, 3:03 PM
Kir-Py
Kir-Py - avatar