Back to tasks
T-shirt size
BeginnerPython for kids 路 Lesson 23: elif - many options
Problem Statement
Read the height in cm. Print the T-shirt size: S below 130, M below 150, L below 170, otherwise XL.
Input Format
One whole number - the height in cm (80 <= height <= 220).
Output Format
S, M, L or XL.
Examples
Example 1
Input
125
Output
S
Example 2
Input
150
Output
L
Example 3
Input
185
Output
XL