If-else Statements in Python | Nested If-else | Day 7 | 100 Days of Python Programming

preview_player
Показать описание
If-else Statements in Python | Nested If-else: Master the art of decision-making in Python with this video on if-else statements, including nested if-else structures. We'll guide you through the syntax and usage of these fundamental control flow statements.

============================
Do you want to learn from me?
============================

📱 Grow with us:
Рекомендации по теме
Комментарии
Автор

Thanks sir, i got the clarity I'm looking for only at your videos. I am struggling for so long but got the gem 💎
You are using the perfect on-point and straight forward explanation 👍

yashshrivastava
Автор

Your explanation is awesome. I am watching your videos from Bangladesh, but I have solved it in another way.

import random

jackpot_num = random.randint(10, 20)
guess_num = int(input('Plz input a number' ))
counter = 1

if jackpot_num == guess_num :
print('You Win the jackpot')
print('Your aapropiate guess is in the', counter, 'attemps')
else:
while jackpot_num != guess_num:
counter+=1
guess_num = int(input('Plz input a number' ))
if jackpot_num == guess_num :
print(guess_num, 'is appropiate')
print('Your aapropiate guess is in the', counter, 'attemps')
print('You Win the jackpot')

takveerahmedtareq
Автор

You make all the things difficult to very simple . thank you sir

skdmusicmood
Автор

clearly untestable and easy to catch the code, Thank you sir

skdmusicmood
Автор

Thank you bro i learned something new today

syedmohamedfaizan
Автор

Hi..
I want to know that if the user gives wrong I'd and password,
I want to make it in loop to enter again I'd and password

Автор

Please make videos of config.ini files creation and usage

yuvarajca
join shbcf.ru