Ways to speed up code on watermelon

Правка en1, от scriabin, 2022-10-16 06:16:23
w = int(input())

if w % 2:
    print("NO")
elif w == 2:
    print("NO")
else:
    print("YES")

here is my code, does anyone have recommendations to make it faster

Теги python, watermelon, 800, implementation

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский scriabin 2022-10-16 06:56:22 95
en1 Английский scriabin 2022-10-16 06:16:23 220 Initial revision (published)