Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 427 Bytes

exercise-7-2.md

File metadata and controls

27 lines (20 loc) · 427 Bytes

Exercise 7-2: Your First Python Script

Here's your first Python script:

print("hacks")
print("leaks")
revelations = "revelations".upper()
print(revelations)

A copy of it is in exercise-7-2.py.

Change to your exercise folder for this assignment and run it like:

python3 exercise-7-2.py

Example:

micah@trapdoor chapter-7 % python3 exercise-7-2.py
hacks
leaks
REVELATIONS