PythonIntermediate PythonNumPySQLGen AI
HTMLCSSJavaScriptIntermediate JavaScriptReactp5.jsNode.js
Command LineGit & GitHub
C++JavaData Structures & Algorithms

Exercise

01. S |

Python

Welcome to the first chapter of The Legend of Python! 🐍

The programming language we are learning is called Python, created by a developer named Guido van Rossum in the early 90s.

Python is designed to be easy for us to read, which makes it the perfect coding language for beginners.

It's also super versatile and used in the following:

  • Data analysis & visualization
  • Artificial intelligence (AI)
  • Machine learning (ML)
  • Web development
  • And more!

All the code we write in this course will be in Python files, with the .py extension. And we write them inside a code editor.

A code editor is a text editor where we can write and execute code.

There's a code editor on the right side, created just for you. 👉

Let's give it a try!

Instructions

Copy and paste this line of code in line 3:

print('Hi')

And then press the "Run" button and wait 1-2 seconds.

This should appear in the Terminal window if you did it correctly:

Hi

You are now ready for the journey ahead. (ノ ◕ ヮ ◕)ノ*:・゚ ✧

Press the "Check Answer" button and then "Next" to continue.

Happy coding!

Help

Get a Hint

Done with this exercise? Click "Check Answer" to continue!

New Item Unlocked!

pom pom characters gifitem duck

Rubber Duck NEW

Rubber duck debugging is a classic technique used by developers to debug code. By explaining the code line-by-line to a rubber duck, you can break down the code into smaller pieces, and potentially identify the error.

... It's silly, we know.

New Item Unlocked!

pom pom characters gifitem duck

Codédex BotNEW

I’m a coding mentor bot built with GPT-4 👋. I’m here to answer any questions related to programming, Codédex, and much more.

FEATURE UNLOCKED!

sad characters gif

You have 100 XP! This means you can now join our Discord community to chat and hang out with fellow learners and the team behind Codédex!
See you there. 😊

FEATURE UNLOCKED!

pom pom characters gif

You have 250 XP! This means you can now join our On-Platform community to chat and hang out with fellow learners!
Say hi in the Introductions channel. 😊

python logoscript.py

item duck
item duck
item duck
Loading...

Terminal

user image

Hi, I’m Codédex Bot! I’m a coding mentor bot built with GPT-4 👋.

I’m here to answer any questions related to programming, Codédex, and much more.

For example, try to ask something like:

  • What are classes and objects in Python?
  • How to create a table in HTML?
  • What's if (variable > 2) print(‘greater’)?
  • What's Codédex Club?
send image
user image
send image

Hello World

01. Setting Up

02. Hello World

03. Pattern

04. Initials

05. Snail Mail

Variables

Control Flow

Loops

Checkpoint Project

Lists

Functions

Classes & Objects

Modules

01. Setting Up

10 XP

Exercise

01. S |

Python

Welcome to the first chapter of The Legend of Python! 🐍

The programming language we are learning is called Python, created by a developer named Guido van Rossum in the early 90s.

Python is designed to be easy for us to read, which makes it the perfect coding language for beginners.

It's also super versatile and used in the following:

  • Data analysis & visualization
  • Artificial intelligence (AI)
  • Machine learning (ML)
  • Web development
  • And more!

All the code we write in this course will be in Python files, with the .py extension. And we write them inside a code editor.

A code editor is a text editor where we can write and execute code.

There's a code editor on the right side, created just for you. 👉

Let's give it a try!

Instructions

Copy and paste this line of code in line 3:

print('Hi')

And then press the "Run" button and wait 1-2 seconds.

This should appear in the Terminal window if you did it correctly:

Hi

You are now ready for the journey ahead. (ノ ◕ ヮ ◕)ノ*:・゚ ✧

Press the "Check Answer" button and then "Next" to continue.

Happy coding!

Help

Get a Hint

FEATURE UNLOCKED!

sad characters gif

You have 100 XP! This means you can now join our Discord community to chat and hang out with fellow learners and the team behind Codédex!
See you there. 😊

FEATURE UNLOCKED!

pom pom characters gif

You have 250 XP! This means you can now join our On-Platform community to chat and hang out with fellow learners!
Say hi in the Introductions channel. 😊

python logoscript.py

item duck
item duck
item duck
Loading...