My issue
Alice has scored
�
X marks in her test and Bob has scored
�
Y marks in the same test.
Alice is happy if she scored at least twice the marks of Bob’s score.
Print “Yes” is she is happy.
Other wise print nothing.
Option 1:
if (X >= 2*Y):
print(“YES”)
Option 2:
if (X > 2*Y):
print(“YES”)
Option 3:
if (2*Y <= X):
print(“YES”)
Option 4:
if (2*Y >= X):
print(“YES”)
Learning course: Practice Python
Problem Link: CodeChef: Practical coding for everyone