Share your repls and programming experiences

← Back to all posts
Practice of decision making and loops in python
9500 (0)

Here is a practice code for you, try out the following

  1. Check if the given input year is a leap year (Use of 'nested if else')

  2. Reverse the given number and check if the reversed number is same as the original one (Use of 'for loop')

9500 (0)