Beginner Exercises for If-Else Statements in Python
1. Even or Odd
Ask the user for a number. Print if it's even or odd.
2. Greater Number
Ask the user to enter two numbers. Print the greater one.
3. Pass or Fail
Ask the user for a score.If score >= 50, print “Pass”. Otherwise, print “Fail”.
4. Temper...
techxnomad.hashnode.dev2 min read