Python 3 - Exercise 17 - Entire script in one line?

Hi, in Learn Python 3 the hard way, in Exercise 17, one of the questions in the Study Drill is to be able to make the script shorter. The thing is, apparently Zed can write the entire script in one line which is baffling me because i dont know how to do it. Is there a pdf or something of the answers to the book?

Thank you.

That’s because I cheat and use a ; to do it. I’m bad like that.

4 Likes