Skip to content
  • Home
  • Python Tutorials
  • Pandas Tutorials
  • Jupyter Tutorials
  • Swift UI Tutorials
  • About Us
    • Privacy Policy
    • Contact Us

Python Lesson 1: Hello World in Python

Programming lessons traditionally start with the “Hello World” program. Who am I to break with tradition. In Python this program only requires a single line of code!

Hello world code

  1. Create a new notebook (see lesson 4 if you don’t remember)
  2. Click on the first cell (Make sure its a Code cell. See lesson 8)
  3. Enter the Code : print(“Hello World”)
  4. Press Ctrl + Shift + Enter to execute the code

  • Python Lesson 1: Hello World in Python
  • Python Lesson 2: Reserved Keywords
  • Python Lesson 3: Creating Variables
  • Python Lesson 4: Performing math calculations in Python using operators
  • Python Lesson 5: Working with Strings
  • Python Lesson 6: Useful String Methods
  • Python Lesson 7: Getting User Keyboard input
  • Python Lesson 8: Importing Modules into your Python code
  • Python Lesson 9: Decision making in Python
  • Python Lesson 10: Creating loops in Python
  • Python Lesson 11: Lists in Python
  • Python Lesson 12: Tuples in Python
  • Python Lesson 13: Dictionaries in Python
  • Python Lesson 14: Sets in Python
  • Python Lesson 15: Dealing with dates and time
  • Python Lesson 16: Creating and using functions
  • Python Lesson 17: Creating and using classes in Python
  • Python Lesson 18: List Comprehensions
  • Python Lesson 19: Lambda Functions
  • Python Lesson 20: Error Handling
Proudly powered by WordPress