Exercises
Create a new file called basics.py
. Write code in it to do the following:
Print your favourite video game on the console.
Print your favourite animal as well.
Use the
print
function once to output the two previous strings separated by a newline.Print the following expressions in Python
61 + 4
25 - 12.5
Last updated