
G9 Sprint 2.1
Quiz by fayrouz
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
The following Python code contains errors. Fix them and make it work correctly.

Write a Python program that:
1-Takes temperature (°C) as input.
2-Prints "Cold" if temperature < 10°C.
3-Prints "Warm" if 10°C ≤ temperature ≤ 30°C.
4-Prints "Hot" if temperature > 30°C.
Write a program that:
Takes marks (0-100) as input.
Assigns grades as per the following:
90-100: A
75-89: B
50-74: C
Below 50: Fail