Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Data Quality Checker | Python Foundations for Chemists
Python for Chemists

bookChallenge: Data Quality Checker

Task

Swipe to start coding

Write a function that checks each temperature in a list and prints a warning for any value outside the range 20 to 30Β°C.

  • Review each value in the temperatures list.
  • For any value less than 20 or greater than 30, print a warning message that includes the temperature value.

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 7
single

single

Ask AI

expand

Ask AI

ChatGPT

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

Suggested prompts:

Can you explain this in simpler terms?

What are some examples related to this topic?

Where can I learn more about this?

close

bookChallenge: Data Quality Checker

Swipe to show menu

Task

Swipe to start coding

Write a function that checks each temperature in a list and prints a warning for any value outside the range 20 to 30Β°C.

  • Review each value in the temperatures list.
  • For any value less than 20 or greater than 30, print a warning message that includes the temperature value.

Solution

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Β 1. ChapterΒ 7
single

single

some-alt