🐍 💻 🎮 🚀 📱

🐍 Python Adventure

Overall Progress
0%

📝 Variables & Data Types

Learn how to store and use data in Python!

🎯 Score: 0

📝 Variables & Data Types Challenge

Complete the challenges to learn about Python variables!

📚 What You'll Learn

  • Variables: How to store data in Python
  • Data Types: Strings, numbers, and booleans
  • String Operations: Combining and formatting text
  • Number Operations: Working with integers and floats

🎯 Learning Objectives

  • Create variables to store different types of data
  • Understand the difference between strings and numbers
  • Combine strings using concatenation
  • Perform basic operations with variables

💡 Pro Tips

  • Strings use quotes: name = "Alex"
  • Numbers don't need quotes: age = 12
  • Use + to combine strings: "Hello" + "World"
  • Use print() to display values

Challenge 1 of 5

💻 Try It Yourself
Click "Run Code" to see your output

🔢 Math Operations & Logic Challenge

Solve math problems and use conditional logic!

📚 What You'll Learn

  • Math Operations: Addition, subtraction, multiplication, division
  • Comparison Operators: ==, !=, <, >, <=, >=
  • If/Else Statements: Making decisions in code
  • Logical Operators: and, or, not

🎯 Learning Objectives

  • Perform basic math operations in Python
  • Use comparison operators to compare values
  • Write if/else statements for decision making
  • Combine conditions with logical operators

💡 Pro Tips

  • Use +, -, *, / for math
  • == checks if values are equal
  • if age >= 18: checks if age is 18 or more
  • Indentation is important in Python!

Challenge 1 of 5

💻 Try It Yourself
Click "Run Code" to see your output

🔄 Loops & Functions Challenge

Learn to repeat actions and create reusable code!

📚 What You'll Learn

  • For Loops: Repeat actions a specific number of times
  • While Loops: Repeat while a condition is true
  • Functions: Create reusable blocks of code
  • Parameters: Pass data to functions

🎯 Learning Objectives

  • Use for loops to repeat actions
  • Use while loops for conditional repetition
  • Create functions with def keyword
  • Pass parameters to functions

💡 Pro Tips

  • for i in range(5): repeats 5 times
  • while condition: repeats while condition is true
  • def function_name(): creates a function
  • Don't forget the colon : and indentation!

Challenge 1 of 5

💻 Try It Yourself
Click "Run Code" to see your output

🎮 Code Runner

Write Python code to control your character and collect all the coins!

📚 What You'll Learn

  • Function Calls: Using functions to perform actions
  • Sequential Logic: Code executes line by line
  • Problem Solving: Plan your moves to reach the goal
  • Debugging: Fix code that doesn't work correctly

🎯 Game Instructions

  • Use move_right() to move right
  • Use move_left() to move left
  • Use move_up() to move up
  • Use move_down() to move down
  • Collect all coins to win!
Coins Collected: 0 / 0
Moves: 0
💻 Write Your Code
Write code to control your character! 🎮

🗺️ Python Quest

Embark on an adventure! Solve Python puzzles to unlock doors and find the treasure!

📚 What You'll Learn

  • Conditional Logic: Use if/else to make decisions
  • Comparisons: Compare values with operators
  • Problem Solving: Solve puzzles with Python logic
  • Creative Thinking: Find creative solutions

🎯 Game Instructions

  • Read the puzzle description carefully
  • Write Python code to solve each puzzle
  • Use if/else statements to unlock doors
  • Progress through levels to reach the treasure!
Level: 1
Doors Unlocked: 0

Puzzle 1: The First Door

Write code to check if a number is greater than 10. If true, unlock the door!
💻 Solve the Puzzle
Solve the puzzle to unlock the door! 🚪