+ 1
Python /breaking lines
How do I move to the next lot with my code, without executing the code. Iâm sure this is a beginner question but Iâve only been learning heavily for about a month now. I hope I explained myself well enough if not please let me know.
10 Respostas
+ 1
Hey Andrew, I am somewhat new to this as well but will try my best to help! Can you please clarify what you mean by moving âto the next lotâ? Are you trying to start a new paragraph in a string?
+ 1
what im having trouble with is i know to break the line in a string you use /n but trying to move the cursur that puts your code out on the interpreter down to the next numbered line i donât know how.
+ 1
ok now that helps a lot . i totally forgot about the â#â to comment it out . for some reason it skipped my mind. thank you very much. you helped me a lot
+ 1
ok i just tryed to transfer my code to my other computer so i can show you and its giving me troubles sending it. But after i used my books and looked deeper i found that there might be an easier way to start a newline without having it interpret the code. use ctrl-j keys to move down for a new line with indetation.
+ 1
i appreciate everything i hope you have a happy thanksgiving cameron
0
Are you trying to have it skip a line, trying to change the order in which your lines are evaluated, or trying to force it to continue to the next lime in spite of an error? If none if those, let me know.
0
ya im in an esence trying to force it down without putting the code into operation
0
If you want it to be conditional we would have to do some further research into things like a break statement (I think). Otherwise a simpler approach would be to comment out the line of code with a â#â until you decide youâd like to use it again.
0
Glad I could help!
0
Thatâs great, hopefully that works out! Likewise Andrew, Happy Holidays!đŠâïž