Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge 2 | If...Else Statement
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

bookChallenge 2

Task

Code the next two lines. If the test fails, test if a equals 15. If so, display "a equals 15".

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 4. Chapter 5
toggle bottom row

bookChallenge 2

Task

Code the next two lines. If the test fails, test if a equals 15. If so, display "a equals 15".

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 4. Chapter 5
toggle bottom row

bookChallenge 2

Task

Code the next two lines. If the test fails, test if a equals 15. If so, display "a equals 15".

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Task

Code the next two lines. If the test fails, test if a equals 15. If so, display "a equals 15".

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 4. Chapter 5
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
some-alt