13 AnswersNew Answer
For example this is my code 1 for i in a: 2something 3 blabalba 4gggha Ok..lets say that i want my code like this 1 for i in a 2somethinf 3i just write it 4 blabalba 5ggha.....the point is that i want to create space so i can write something else... I press enter. I press tab but doesnt create space to write something new
5/4/2020 8:19:07 PMJason Papastavrou
13 AnswersNew Answer
What exactly is your problem sir?
Ooo no you didnt imagine you are writting now a code, until now you have written 40 lines of code and you finish your project. But now you see that you shoud write 2 more lines of code but not in the last part but somewhere in the middle. What do you press from your keyboard to create space so you can write these 2 more lines
I go the next line but it has been written, i want a clean line
Imagine i have written 40 lines of code... And i figure out that in the middle of my code there is a mistake, 1 line isnt enough i need to write another 2
Alright, you may need to. The problem?
I want the line 8 to become line 10
The reasoning behind it makes no sense to me. Do you have any code you can show where the problem occurs?
Take a random code,and try to write 3 line more in the middle of it without removing any line
Just did it and it works. for i in range(10): print(i) Its all about indentation. But there should be no reason to be skipping more than one line
The question is what should i press from. My keyboard to create a empty line in the middle of. My code
Ooooh now i understand. print('\n\n') That'll give you some breathing room for your output. Add the newline character in regular print statments to seperate that infos output on the screen
Go to the start of the line and hit the enter key.
Right, if you go in the middle of your code, in the example, around line 20. Put the cursor at the start of this line, then hit enter. The text will drop one line while leaving the above text in place. Giving you your line
SoloLearn Inc.4 Embarcadero Center, Suite 1455
Send us a message