PROBLEM LINK:
Practice
Contest: Division 1
Contest: Division 2
Contest: Division 3
Contest: Division 4
Author: mamaleshrh
Tester: iceknight1093
Editorialist: iceknight1093
DIFFICULTY:
TBD
PREREQUISITES:
None
PROBLEM:
Mango lassi is best enjoyed when the temperature is greater than 35 degrees Celsius.
Given the current temperature T, will you drink mango lassi?
EXPLANATION:
The answer is Yes
if T\gt 35 and No
otherwise.
This can be checked using an if
condition.
TIME COMPLEXITY:
\mathcal{O}(1) per testcase.
CODE:
Editorialist's code (Python)
x = int(input())
print('Yes' if x > 35 else 'No')