1. Learn
  2. /
  3. Courses
  4. /
  5. Intermediate Python

Connected

Exercise

Zahřívací kolo

Abys mohl/a vyzkoušet if a else v praxi, podívej se na tento ukázkový kód:

area = 10.0
if(area < 9) :
    print("small")
elif(area < 12) :
    print("medium")
else :
    print("large")

Co se vypíše, když tento kód spustíš?

Instructions

50 XP

Possible answers