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.



2 comments :

  1. Hi, nice. elif syntax ๐Ÿ‘Œ

    ReplyDelete
  2. Colorado legal sports betting is predicted to thrive because of quantity of} ์˜จ๋ผ์ธ์นด์ง€๋…ธ advantageous factors. Among them is the extremely favorable 10% tax price paid of sports betting income by casinos and on-line sportsbook operators. The 10% price is among the many most favorable in states the place sports betting is legal, that means the state ought to be an extremely enticing landing spot for variety of the} industry’s top gamers. Slot machine is one of the|is among the|is probably considered one of the} most beloved sport among the playing neighborhood and it has been half of|part of} the business an extended time|for a very lengthy time}.

    ReplyDelete