[2] Python If-Else - HackerRank Practice Programs for Python

preview_player
Показать описание
This video series contains the solution to HackerRank Problems for Python

Track: Tobu - Candyland [NCS Release]
Music provided by NoCopyrightSounds.
Рекомендации по теме
Комментарии
Автор

if __name__ == '__main__':
n = int(input().strip())
if n%2==1:
print("Weird")
elif 2<=n<=5:
print("Not Weird")
elif 6<=n<=20:
print("Weird")
else:
print("Not Weird")

demonslayer