TryHackMe - Python Basics Writeup

TryHackMe logo for Python Basic room

Task 2: Hello World

Task 3: Mathematical Operators

Arithmetic Operators
Comparison Operators

Task 4: Variables and Data Types

Task 5: Logical and Boolean Operators

Logical Operators
Boolean Operators

Task 6: Shipping Project Introduction to If Statements

Task 7: Loops

i = 1
while i <= 10:
i = i + 1
for i in range(5):

Task 8: Bitcoin Project Introduction to Functions

Task 9: Files

f = open("file_name", "r")

Task 10: Imports



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store