how can I write a code in python using if condition doing this tips :
If n is odd, print Weird If is even and in the inclusive range of 2 to 5, print Not Weird If is even and in the inclusive range of 6 to 20 , print Weird If is even and greater than 20, print Not Weird
Aucun commentaire:
Enregistrer un commentaire