Ctrl+Enter to run
๐Ÿ hello_world.py
Lines: 3
๐Ÿ“ค Output Ready
Click "Run Code" to see the output...

๐Ÿ“– Learn

Hello World

The print() function displays text on the screen.

  • Text must be in quotes: "Hello" or 'Hello'
  • Each print() creates a new line

Python Operators

  • + Addition
  • - Subtraction
  • * Multiplication
  • / Division
  • ** Exponent (power)
  • // Floor division
  • % Modulus (remainder)

Tips

  • Python is case-sensitive
  • Use # for comments
  • Indent with 4 spaces
  • Variable names can't start with numbers