HackerRank Python If-Else Solution Explained - Python

Publié le: 13 juillet 2020
sur la chaîne: codewithkameshwar
186
2

HackerRank Python If-Else Solution Explained - Python


Task
Given an integer,n, perform the following conditional actions:

If n is odd, print Weird
If n is even and in the inclusive range of 2 to,5 print Not Weird
If n is even and in the inclusive range of 6 to,20 print Weird
If n is even and greater than 20, print Not Weird

Follow me on Social Handles:

Instagram:   / kameshwarsah99  

Facebook:   / kameshwar.kumar.1048  

Twitter:   / kameshwarsah31  


#hackerrank
#ifelse
#pythonprogramming


Sur cette page du site, vous pouvez voir la vidéo en ligne HackerRank Python If-Else Solution Explained - Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur codewithkameshwar 13 juillet 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 186 fois et il a aimé 2 téléspectateurs. Bon visionnage!