Continuing Code onto the next line?


#1

I am trying to create the date and time format as dd/mm/yy and hour:min:sec on Python.
The problem is the code doesn't fit into one line and as a result I am getting a syntax error. I tried using the escape backslash but to no avail.
This is my second day of learning to program.
Any help will be appreciated. Thank you.


#2

I forgot to put a comma after year!
I thought maybe the code shouldn't continue onto the next line.
Got it!


#3

Second day or second year, it doesn't matter. Show us your code and we can go from there. What is the question, and what effort have you put forth thus far? Over to you...


#4

Thank you so much! It was just a simple thing that I discovered. I have finished that level! :smile: