Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Ways to speed up code on watermelon

Правка en2, от scriabin, 2022-10-16 06:56:22
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

edit; why the downvotes, where is a place i can discuss my code and figure out improvement.

Теги 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)