HackerRank Python Problem No 1 || If elif else

Pubblicato il: 31 agosto 2021
sul canale di: Bhanu Prathap
5,583
47

Given an integer, , perform the following conditional actions:

If is odd, print Weird
If is even and in the inclusive range of to , print Not Weird
If is even and in the inclusive range of to , print Weird
If is even and greater than , print Not Weird

Input Format
A single line containing a positive integer, .

Output Format
Print Weird if the number is weird. Otherwise, print Not Weird.

Source:
HackerRank

Link:https://www.hackerrank.com/challenges...


In questa pagina del sito puoi guardare il video online HackerRank Python Problem No 1 || If elif else della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Bhanu Prathap 31 agosto 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 5,583 volte e gli è piaciuto 47 spettatori. Buona visione!