Monday, 7 February 2022

Python practice programs for beginners - Day 11

 

Python practice programs for beginners - millioninformations


Day 10 Solution:




Day 11: If elif


If we want to check more scenarios we can use if elif

Syntax:

if condition 1:

    Statement to be executed if the condition is True

elif condition 2:

     Statement to be executed if the condition is True

elif condition 3:

     Statement to be executed if the condition is True

Day 11 Task: Get three numbers from the user and try to find the smallest of those three numbers.



1 comment :