Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge 2 | Comments
Python Tutorial for Beginners
course content

Course Content

Python Tutorial for Beginners

Python Tutorial for Beginners

1. Introduction to Programming
2. Variables in Python
3. Comments
4. If...Else Statement

Challenge 2

Task

Rewrite this piece of code, commenting out the illegal lines. And display on the screen only those variables that are valid.

Task

Rewrite this piece of code, commenting out the illegal lines. And display on the screen only those variables that are valid.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 3. Chapter 3
toggle bottom row

Challenge 2

Task

Rewrite this piece of code, commenting out the illegal lines. And display on the screen only those variables that are valid.

Task

Rewrite this piece of code, commenting out the illegal lines. And display on the screen only those variables that are valid.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 3. Chapter 3
toggle bottom row

Challenge 2

Task

Rewrite this piece of code, commenting out the illegal lines. And display on the screen only those variables that are valid.

Task

Rewrite this piece of code, commenting out the illegal lines. And display on the screen only those variables that are valid.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Task

Rewrite this piece of code, commenting out the illegal lines. And display on the screen only those variables that are valid.

Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 3. Chapter 3
Switch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt