🐍 Python Notes – Chapter 1: Basics + Practice


📄 1) first.py – First Program

🧠 Concepts Covered:

📜 Code:

print("HELLO WORLD")  # Prints Hello World to the console
# First program

""" This is a
Multiple line comment """

# You can also comment multiple lines by selecting them and pressing Ctrl+/
# Cool
# Awesome
# Fun

📝 Explanation:


📦 2) Module.py – Using External Modules

🧠 Concepts Covered:

📜 Code:

# Use PIP INSTALL (MODULE NAME) to install a module
import pyjokes

print("Sure, here is your joke")

# This prints a random joke
joke = pyjokes.get_joke()
print(joke)