0

I need to have the saying "It's all done." advance to the next line. I've tried everything I can think of and find in my book but the line is continued on the line of integers. This is my coding so far and everything works but I can't figure out how to advance the saying to the next line. Thanks for your help!

for x in range(100,-1,-10) :
    print(x, end=' ')

print('It\'s all done.')

1 Answer 1

2

Like this?

for x in range(100,-1,-10) :                                                    
    print(x, end=' ')    

print('\nIt\'s all done.')   
Sign up to request clarification or add additional context in comments.

2 Comments

Oh my gosh, I can't believe it was that simple! I knew it had to do with "\n" but I wasn't placing it in the proper place! Thank you, it worked!
Yes, just add a \n or add a print() before print('It\'s all done.').

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.