130,996 views
26 votes
26 votes
Review the items below to make sure that your Python project file is complete. Once you have finished reviewing your variables.py assignment, upload it to your instructor.1. Make sure your variables.py program prints the following things, in this order:a) Hello world!b) Spamc) Eggsd) SpamEggse) Spam Eggsf) Spam Eggsg) 7 9h) 20i) 13j) 5k) 13l) 10.8m) 2.72. Make sure that you have saved your program. TIP: If there is an asterisk before the file name in the variables.py text editor window, you need to save your work.

User Micadelli
by
3.1k points

1 Answer

19 votes
19 votes

Answer:

print('Hello world!')

print('Spam')

print('Eggs')

print('SpamEggs')

print('SpamEggs')

print('Spam Eggs')

print(7)

print(20)

print(13)

print('5k')

print(13)

print('10.8m')

print(2.72)

Step-by-step explanation:

Integers and floats don't need quotes, but if you want to combine it with a string, then you need a quote. Hope that this solution is what you are looking for!

User Tomas Hurka
by
2.8k points