Coding to Christmas – Python - Challenge 4

preview_player
Показать описание
Santa is dropping some presents off at KPMG. He needs to land his sleigh in one of the KPMG parking spaces.

Ask Santa to enter the width and length of his sleigh in cm. If the area is 5.3m2 or below he can park in Space 1, if the area is between 5.31m2 and 6.5m2, he can park in Space 2 and if the area is over 6.5m2, he can park in Space 3.

Write a program to work out which parking spot he can park in, and let Santa know.
Рекомендации по теме