Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge | Introduction to Python 2/2
Introduction to Python for Data Analysis

bookChallenge

question-icon

Rate the price of the computer. Fill in the missing gaps to construct a full if-else program.

price = 4000
price >= 5000:
    
('This computer is too expensive! I won't buy it!')

    print('The price is OK! I will buy it:)')
The price is OK! I will buy it:)

Click or drag`n`drop items and fill in the blanks

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 2

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Suggested prompts:

Ask me questions about this topic

Summarize this chapter

Show real-world examples

Awesome!

Completion rate improved to 2.08

bookChallenge

Swipe to show menu

question-icon

Rate the price of the computer. Fill in the missing gaps to construct a full if-else program.

price = 4000
price >= 5000:
    
('This computer is too expensive! I won't buy it!')

    print('The price is OK! I will buy it:)')
The price is OK! I will buy it:)

Click or drag`n`drop items and fill in the blanks

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 2
some-alt