PROBLEM LINK:
Practice
Contest: Division 1
Contest: Division 2
Contest: Division 3
Contest: Division 4
Author: pols_agyi_pols
Tester: watoac2001
Editorialist: iceknight1093
DIFFICULTY:
TBD
PREREQUISITES:
None
PROBLEM:
Alice is X centimeters tall.
To get on the giant wheel, one should be at least 60 centimeters tall.
Can Alice get on the giant wheel?
EXPLANATION:
Print Yes
if X \geq 60 and No
otherwise.
Check this condition using an if
statement.
TIME COMPLEXITY:
\mathcal{O}(1) per testcase.
CODE:
Editorialist's code (Python)
x = int(input())
print('Yes' if x >= 60 else 'No')