Hello Harry bhai ye if statements me condition ko parenthesis nhi diye to chalta hain kya? kyu ki maine dono trha run krke dekhe hai it ran the program.
Thanks sir for everything . You are my first teacher by which my coding journey started.When I start my journey , I m worked on mobile but now I builded my own pc . I know my English is not good 😁 but I wants to express my feeling . Channel "code with Harry " deserves 20M subscriber . Your teaching skill is very different form any other teacher. I don't know you read but if you read " Thanks Harry bhi❤️ "
Bro apka padhane ka speed sabse badhia he. Hum bahat se logo k liye programing new cheez he . To smasjhne me thoda time lagta he aur pura starting se samsjhna padta he. hats off to u bro for not getting swayed by users who constantly keep telling you to speed up or give tough things to do. Ap apne speed se chalo bro. Jise zyada hi advanced pasand he to aur koi channel dekh le ya fir udemy me course karle.
Bhai awesome hai harry bhai. Mujhe ye doubt hai ki Completed_course=int(input()) Print("I did all 100 days of coding successfully") If Completed_course=100: Print("Will people even take me in interviews for an IT job? What will be my level?") elif Completed_course=>100: Print("100 Days+ Some Projects from Harry bhai will make me ready for a job?") else: Print("Im sure that i know nothing,i'll get nothing lol")
The material that he is teaching is beyond expectations ....people after taking lacs through their courses are not nearby to him ... Salute to your efforts... keep inspiring and keep going
Harry bhai u are a great man yr sch me aap ki bat krni ka tarika bahut acha hai ek dm khul ke esa lagta hm kisi teacher se nii bade bhai se pd rahe hai jo hm ko hath pkd ke pdna sikhara hai
You can also create a calculator with elif statement :- num1= int(input('enter the value1:- ')) num2= int(input('enter the value2:- ')) OPR=input('Enter the OPR..') if OPR=='+': print(num1+num2) elif OPR=='-': print(num1-num2) elif OPR=='*': print(num1*num2) elif OPR== '/': print(num1/num2) else: print('Invalid OPR')
# Day-014 # Date-11/12/2022 # Time-17:33 pm # ifelse conditional statements #Programm to print your age group age=int(input("Enter your age in whole number:")) if(age==0 or age==1): print("You are Infant") elif(age>=2 and age=5 and age=13 and age=20 and age=40 and age=60 and age
00:01 If-else conditional statements in Python are used for decision making in daily life and programming. 02:14 Illustrating the use of if-else conditional statements in Python 04:39 Understanding if-else conditional statements 06:55 Learn about If-Else conditional statements in Python. 08:45 Using If Else statements for conditional execution in Python 10:45 Understanding If Else conditional statements in Python 13:09 If the condition becomes true, it will jump to the corresponding block of code. 15:14 File names should not clash with Python keywords or modules 17:22 Conditional statements in Python and the importance of practice 19:07 Understanding If Else conditional statements in Python Crafted by Merlin AI.
Simple Program Made by me. Please run and Rate it budget=int(input("Enter your Budget = ")) Items= int(input("How many Items You want to Purchase = ")) avp= int(input("Enter the Average Price of Items = ")) t=avp*Items if(budget
Thank you sir your are the my first teacher of coding .I have started coding but I don't no anything your vidoes is very awesome with the help of your videos I will one day became a top coder in India .I hope you are understanding my Dream and desire
Day 14 Streak is on 🔥🔥🔥🔥 Josh is HIgh We love you harry Bhai ❤❤ Thank You so much for making such an amazing videos very interesting and easy to understand Salute to you and your hardwork and commitment 🫡❤
Hello Harry ... bhaiya I am currently study in class 11 and your video's are really helpful for me ... I feel defficulty in WHILE , loop.range and alll... Plase make a next video on that topic ... And pls. Tell us how to make a pyramid. Using *. Really addicted to you videos ❤️
Thanks Harry Bhai! My Day #14 completed! I would recommend all my brothers and sisters to work over projects which includes Nested Conditional Statements..
8:37 to fix this error To run a different file in Replit, you need to specify the file you want to execute in the file. Here's how you can do it: Open the file: In the file tree, click the "Show hidden files" button at the top right, then open the file. Modify the run command: In the file, locate the run command and modify it to specify the file you want to execute. For example, to run a file named , you would change the line to: run = "python my_script.py" Save the changes: Save the file. Run the Repl: Click the "Run" button to start your Repl. Now it should execute the file instead of the default file. Example: If you want to run instead of the current file, you would change the file to: run = "python main.py" Remember to replace with the actual name of the file you want to run.
Day 4 of #100DaysOfCode. Today, in this video 14, I discovered if-else, if-else-elif, and nested if-else-elif statements for conditional programming. I learned how to check and execute different code blocks based on the truthfulness of expressions, enabling me to create more complex and dynamic programs that can respond to various conditions. Thank You Harry Bhaiya.
t1 = int(input("Enter the time:")) print("the time is" ,t1) if(t112): print("good evening") elif(t1>17): print("good night") else: print("time is not valid")
Hello Harry, I am your follower and I watch your videos everyday. Thanks for giving us a best knowledge of programming and we know you will make best videos in the future as well. I am eagerly waiting to see you at Sandeep Maheshwari show.
Bhai ap ki python ki old playlist se mai python sekh raha tha jo ap ne 2020 mai create ki thi ab ap ne bohat acha kam kia hai ise dubara start kr k thanks but ap dubara se quiz ,excersice do na
age = int(input("Enter your age:")) "yes" license = input("Do u have license:") if (60 >= age >= 18) and (license == "yes") : print("you can drive") elif (license != "yes"): print ("you dont have license you cant drive") else: print("you cant drive cz you are old")
i just finished , i use two of examples provided in this tutorial and make a function where i can get a input and can make the computer to tell me whatever the number is 0 or bet 10 or bet 20 or above 20 , by the way i use bing ai and it write this code in just 5 sec and understandable
Bhai awesome hai harry bhai. Mujhe ye doubt hai ki Completed_course=int(input()) Print("I did all 100 days of coding successfully") If Completed_course==100: Print("Will people even take me in interviews for an IT job? What will be my level?") elif Completed_course=>100: Print("100 Days+ Some Projects from Harry bhai will make me ready for a job?") else: Print("Im sure that i know nothing,i'll get nothing lol")
Okay, I edited your code to an extent and fixed it, please try this: Completed_course=int(input("Type a number please")) print("I did all 100 days of coding successfully") if Completed_course == 100: print("Will people even take me in interviews for an IT job? What will be my level?") elif Completed_course < 100: print("Less than 100") elif Completed_course >=100: print("100 Days+ Some Projects from Harry bhai will make me ready for a job?") else: print("Im sure that i know nothing,i'll get nothing lol") First edit I made is that your "Prints" were capitalized, they are not suppose to be capitalized. In fact I can't name a function of Python that begins with a capital letter, remember it's "print", not "Print". Second problem was that you provided absolutely nothing in the input, you need to provide something in there, preferably a string, which I did for you. Thirdly, your "if" had some problem, I don't know why but it wasn't being interpreted as an if but rather just as meaningless text. Lastly I added another elif, because it makes sense to account for a number less than 100 as well. The code should work flawlessly now.
@@BilalUser Dude my motive was to ask a question and not to write a code okay? idk if i can benifit from this playlist of harry bhai idk if i can become a coder in life...
Sir, i want to know that in the if elif condition when both conditions were right why the output come only one statement I am talking about the statement at 11:04 timing please clear this doubt
@@preetrathore2513 % is the modulus operator which divides a number and returns the remainder. Here inp is a integer which is divided by 2. When the remainder is 0 the code in the if block is executed otherwise the code in the else block is executed
Maza aa rha hai?
Yes sir
good
dimag ke dhakkan uda diye bhaiya 🤯
bohot mja aa rha h🤗
Boohat maza aa rha hai.,
Bhaiya
palang tod
Code Backup Repository: github.com/CodeWithHarry/100-days-of-code-youtube
Hello Harry bhai ye if statements me condition ko parenthesis nhi diye to chalta hain kya? kyu ki maine dono trha run krke dekhe hai it ran the program.
do you have discord??
i would like to chat with you
Thank you 💕 Sir🙏😊
case1 = 210
case2 = 200
case3 = 190
budget = int(input("enter your budget:"))
if (case1
how can i acess your description of topucs discussed
Thanks sir for everything . You are my first teacher by which my coding journey started.When I start my journey , I m worked on mobile but now I builded my own pc . I know my English is not good 😁 but I wants to express my feeling . Channel "code with Harry " deserves 20M subscriber . Your teaching skill is very different form any other teacher. I don't know you read but if you read " Thanks Harry bhi❤️ "
More than that...
Learn english class before this
@@ilyprince shut up ..... even they tried to speak.
@@ilyprince improve your own English first.
@@ilyprince phale apni english to sahi kar lo bahi
Learn english class before this❌
learn english first✅
Bro apka padhane ka speed sabse badhia he. Hum bahat se logo k liye programing new cheez he . To smasjhne me thoda time lagta he aur pura starting se samsjhna padta he. hats off to u bro for not getting swayed by users who constantly keep telling you to speed up or give tough things to do. Ap apne speed se chalo bro. Jise zyada hi advanced pasand he to aur koi channel dekh le ya fir udemy me course karle.
right 😍😊
🤕
Bilkul sahi lone bro
Bhai awesome hai harry bhai. Mujhe ye doubt hai ki
Completed_course=int(input())
Print("I did all 100 days of coding successfully")
If Completed_course=100:
Print("Will people even take me in interviews for an IT job? What will be my level?")
elif Completed_course=>100:
Print("100 Days+ Some Projects from Harry bhai will make me ready for a job?")
else:
Print("Im sure that i know nothing,i'll get nothing lol")
@@Ameyiscool
1) most important is DSA to crack interview
2) projects
3) cs core subject (DBMS,os,oops,cn,.......)
Do this 3 things
print("I am Present")
a = "I am present"
Print = a
@@Mr_Evil_25 error wrong syntax
@@Mr_Evil_25
a = "I am present"
print (a)
@@Mr_Evil_25 a=""I am Present""
Print(a)
@@Mr_Evil_25 lagta he bhai ne class skip karli
The material that he is teaching is beyond expectations ....people after taking lacs through their courses are not nearby to him ... Salute to your efforts... keep inspiring and keep going
Harry bhai u are a great man yr sch me aap ki bat krni ka tarika bahut acha hai ek dm khul ke esa lagta hm kisi teacher se nii bade bhai se pd rahe hai jo hm ko hath pkd ke pdna sikhara hai
I love the way you start explaining sir
Hat's off to you 😀
6:27
It's not under else loop.
It will be considered as "indentation error" if we want it to do under else.
You can also create a calculator with elif statement :-
num1= int(input('enter the value1:- '))
num2= int(input('enter the value2:- '))
OPR=input('Enter the OPR..')
if OPR=='+':
print(num1+num2)
elif OPR=='-':
print(num1-num2)
elif OPR=='*':
print(num1*num2)
elif OPR== '/':
print(num1/num2)
else:
print('Invalid OPR')
Great 👍
Bhaiya plz provide practice questions 🙏🙏🙏 . It will very helpful for us .
Love u Harry bhai
For this amazing work 🥰🥰
have you tried practice question related to topic from anywhere if yes let me knw as well
Really appreciate how you make understand to us, bahut koi english me ulti kar k chale jaate h kuch smjh ni aata but you are really doing well sir🙋♂️
# Day-014
# Date-11/12/2022
# Time-17:33 pm
# ifelse conditional statements
#Programm to print your age group
age=int(input("Enter your age in whole number:"))
if(age==0 or age==1):
print("You are Infant")
elif(age>=2 and age=5 and age=13 and age=20 and age=40 and age=60 and age
At 17:58 what should be the outside??
Error 404
The user is sleeping
00:01 If-else conditional statements in Python are used for decision making in daily life and programming.
02:14 Illustrating the use of if-else conditional statements in Python
04:39 Understanding if-else conditional statements
06:55 Learn about If-Else conditional statements in Python.
08:45 Using If Else statements for conditional execution in Python
10:45 Understanding If Else conditional statements in Python
13:09 If the condition becomes true, it will jump to the corresponding block of code.
15:14 File names should not clash with Python keywords or modules
17:22 Conditional statements in Python and the importance of practice
19:07 Understanding If Else conditional statements in Python
Crafted by Merlin AI.
Simple Program Made by me. Please run and Rate it
budget=int(input("Enter your Budget = "))
Items= int(input("How many Items You want to Purchase = "))
avp= int(input("Enter the Average Price of Items = "))
t=avp*Items
if(budget
nice project i also done this type of work bty nice code👍
day 14 done....alag hi level ki khushi ha k waqai python samjh arhi ha...thanks for this 100 days of coding...
for i in range(1,12,3):
print(i)
in this code
a= first argument
b= second argument
c= third argument
if(a+c
disqualified
@@gaussuxbsaj 💀☠
@@abdurrehman-p4m that's how it works
Thank you sir your are the my first teacher of coding .I have started coding but I don't no anything your vidoes is very awesome with the help of your videos I will one day became a top coder in India .I hope you are understanding my Dream and desire
Just a big humble thank you Harry. Enjoying each and every lecture and practicing too...
Bhai shell par bash not found likha a rha ha kia masla ho skta?
Watching it after a year loved your teaching style sab zabardast samajh aaraha hia❤
Day 14 Streak is on 🔥🔥🔥🔥 Josh is HIgh We love you harry Bhai ❤❤ Thank You so much for making such an amazing videos very interesting and easy to understand Salute to you and your hardwork and commitment 🫡❤
Bhaii me Pakistan sy ho Apki Sb videos Boht Achi hen ❤️🥰
@@ammadhk90 me too
U r in which clg
the way you explained nested-if was fantastic !!!!
Hello Harry ... bhaiya
I am currently study in class 11 and your video's are really helpful for me ...
I feel defficulty in WHILE , loop.range and alll...
Plase make a next video on that topic ...
And pls. Tell us how to make a pyramid. Using *.
Really addicted to you videos ❤️
same I am also in class 11th
Thats cool bro, I also started programming when I was at studying class 11
Keep learning and it will take you a long way bro!
@@hajimeippo804 Thanks bro
You can refer my lecture on loops
ua-cam.com/video/83iyGPXJTd4/v-deo.html
Just give it a try
i am class 7
DAY #14 complete 👍🏼
You are the inspiration for so many peoples sir
you are the best coding teacher in india love you bro
Thanks Harry Bhai! My Day #14 completed!
I would recommend all my brothers and sisters to work over projects which includes Nested Conditional Statements..
8:37 to fix this error
To run a different file in Replit, you need to specify the file you want to execute in the
file.
Here's how you can do it:
Open the
file: In the file tree, click the "Show hidden files" button at the top right, then open the
file.
Modify the run command: In the
file, locate the run command and modify it to specify the file you want to execute. For example, to run a file named
, you would change the line to:
run = "python my_script.py"
Save the changes: Save the
file.
Run the Repl: Click the "Run" button to start your Repl. Now it should execute the
file instead of the default file.
Example:
If you want to run
instead of the current
file, you would change the
file to:
run = "python main.py"
Remember to replace
with the actual name of the file you want to run.
Appreciate your work 🙏
0:20 Wah wah kya shaayari h 😂
18:33 Thanks for motivation
Harry bhai kia baat hai excellent teacher ho ap, love from Pakistan ❤️❤️❤️
print ("herry brother is the best in this world thanks for this amazing course")
13:24 The way he explain programming using real life example is superb...
Day 4 of #100DaysOfCode. Today, in this video 14, I discovered if-else, if-else-elif, and nested if-else-elif statements for conditional programming. I learned how to check and execute different code blocks based on the truthfulness of expressions, enabling me to create more complex and dynamic programs that can respond to various conditions.
Thank You Harry Bhaiya.
Will u explain me how u created programs..?
It matters when you do regularly
I feel that
I got something day by day 😶🌫️♥️
Thanks sir
Day-14 Done..... :)
thank you harry b bhai
please add day 14 replit,day 13 ki replit hai discription me
bhai aap ko pata hai mane ise 3 din tak kiya aur I found this most easy and beautiful
if (code_with_harry >= Prime_minister):
print("desh badalne wala hai")
else:
print("khatam")
Else :
print ("desh chodke chale jaana hai 😂")
dont be a shit like him
stay serious@@KoushikDas2005
Always use else not Else 😅😅😅@@KoushikDas2005
t1 = int(input("Enter Time (in 24-hour format): ")) # Input in 24-hour format
if 1
t1 = int(input("Enter the time:"))
print("the time is" ,t1)
if(t112):
print("good evening")
elif(t1>17):
print("good night")
else:
print("time is not valid")
Hello Harry,
I am your follower and I watch your videos everyday. Thanks for giving us a best knowledge of programming and we know you will make best videos in the future as well. I am eagerly waiting to see you at Sandeep Maheshwari show.
I am also excited to see those video
a=input("enter your age :")
if a>=18 print("you are eligible for voting") else
print("you are not eligible")
Asslamualaikum Harry Sir ! Kindly Provide Practice Questions and Quizzes.. Thanks
Loving the videos...
Thank You Harry Bhai :)
Love from Bangladesh ❤
Hate from India
I have done all this before but i think that soon enough i will be learning new things.
First
Just love your videos
Your dedication and your commitment is next level
And also your presentation has become better than before 🤩
ua-cam.com/video/lruTsYEJkGo/v-deo.html
Bhai ap ki python ki old playlist se mai python sekh raha tha jo ap ne 2020 mai create ki thi ab ap ne bohat acha kam kia hai ise dubara start kr k thanks but ap dubara se quiz ,excersice do na
I made a little program :
num = int(input("Enter your number: "))
if(num0):
print("Number is positive")
if(num>0 and num10 and num
@SamperGamingEditz abhi ziada nahi, abhi tou babut baki hy
Harry bhai aap great ho itna expensive course bhi hame free me provide karte ho. Thank you
Present sir 🤚
age = int(input("Enter your age:"))
"yes"
license = input("Do u have license:")
if (60 >= age >= 18) and (license == "yes") :
print("you can drive")
elif (license != "yes"):
print ("you dont have license you cant drive")
else:
print("you cant drive cz you are old")
In shell i am writing python 04nested.py it is showing no such file in directory
i just finished , i use two of examples provided in this tutorial and make a function where i can get a input and can make the computer to tell me whatever the number is 0 or bet 10 or bet 20 or above 20 , by the way i use bing ai and it write this code in just 5 sec and understandable
import time
timestamp = time.strftime('%H:%M:%S')
print(timestamp)
t1 = int(time.strftime('%H'))
print(t1)
if (t1==range(5,12)):
print('Good Morning Sir')
elif(t1==range(12,17)):
print("Good Afternoon Sir")
elif(t1==range(17,20)):
print("Good Evening Sir")
else:
print("Good Night Sir")
Looks easy
a=int(input("enter your age"))
if a
a = int(input("Enter your birth of year :"))
b = 2023 - a
print("your age is :", b)
if (b
#harrybhai give some practice programs ...they will also help us in practicing and the flow of coding will be exciting...
Thanks sir for giving best video 🥰🥰
This course is very helpful!
Thank you Harry Bhai!
Bhai apko pata ha day 14 ksy repil py dakhy gy
thank you brother for this amazing course
Attendance="Present day 13"
print(Attendance.replace("13" , "14"))
haha
Kitne tejasvi log h yhaa
maza aa gaya harry bro . 14 day continue
This course is awesome 🔥🔥
Great video sir
Thank you for your efforts.
World best intro harry vai 😍😍😍
Its as same as c++ but we use && for logical operation in c++ and "and" in python
Han barabar hai,vaise mai dono kar raha hu c++ and python.
Best course 💯
Bhai awesome hai harry bhai. Mujhe ye doubt hai ki
Completed_course=int(input())
Print("I did all 100 days of coding successfully")
If Completed_course==100:
Print("Will people even take me in interviews for an IT job? What will be my level?")
elif Completed_course=>100:
Print("100 Days+ Some Projects from Harry bhai will make me ready for a job?")
else:
Print("Im sure that i know nothing,i'll get nothing lol")
Syntax error 😅
Condition written between ()
'=' should be '==' for checking condition .
Bro if need to be small or you did'nt gave any input
Okay, I edited your code to an extent and fixed it, please try this:
Completed_course=int(input("Type a number please"))
print("I did all 100 days of coding successfully")
if Completed_course == 100:
print("Will people even take me in interviews for an IT job? What will be my level?")
elif Completed_course < 100:
print("Less than 100")
elif Completed_course >=100:
print("100 Days+ Some Projects from Harry bhai will make me ready for a job?")
else:
print("Im sure that i know nothing,i'll get nothing lol")
First edit I made is that your "Prints" were capitalized, they are not suppose to be capitalized. In fact I can't name a function of Python that begins with a capital letter, remember it's "print", not "Print". Second problem was that you provided absolutely nothing in the input, you need to provide something in there, preferably a string, which I did for you. Thirdly, your "if" had some problem, I don't know why but it wasn't being interpreted as an if but rather just as meaningless text. Lastly I added another elif, because it makes sense to account for a number less than 100 as well. The code should work flawlessly now.
@@BilalUser Dude my motive was to ask a question and not to write a code okay? idk if i can benifit from this playlist of harry bhai idk if i can become a coder in life...
* this is amazing and interesting course of python*
100 videos in a single day present on 8th day.
Sir, i want to know that in the if elif condition when both conditions were right why the output come only one statement
I am talking about the statement at 11:04 timing
please clear this doubt
means we didn't use the "break " keyword so how it happens
or the Python stops the execution of the other statements when any condition is found to be true!
Task 2:
Take a number from user and check whether it is even or odd :
inp = int(input("Enter a integer: "))
if inp%2==0:
print("Number is even")
else:
print("Number is odd")
Kindly define %2==0
@@preetrathore2513 % is the modulus operator which divides a number and returns the remainder. Here inp is a integer which is divided by 2. When the remainder is 0 the code in the if block is executed otherwise the code in the else block is executed
@@arpankarmakar16 Thankyou dear for explanation now concept cleared!
@@preetrathore2513 🙂
got my exams in between the course took a break of 1 week and got back on track again!!!!!!!!!!
Thats good cry oN
we're not covered conditional operators yet right? hope you'll cover this in future lessons. we've only covered arithmetic
Bhaii me Pakistan sy ho Apki Sb videos Boht Achi hen ❤️🥰
He has covered about conditional operators (> , < , => , =< , != , ==)
thank you a lot sir you are helping many students
2024 aug mei kaun kaun dekh rha 👀
Love you harry bro ❣️
Alots of love from Pakistan ♥️
Harry Bhai try to give task (HW) in every Video. Practice is very important in programming
3:21 relational operators instead of conditional operators
a = int(input("Enter your birth of year :"))
b = 2023 - a
print("your age is :", b)
if (b
good one bro hahah not bad, good practice for the lecture also. picking up pretty great
Sir ur voice is awesome ❤ and the way you teach is on super level ❤
Love from Haryana Harry Bhai 💕
I DON'T KNOW WHY MY REPLIT IS NOT START IT ALWAYS SHOW LOADING THEME,4 DAYS GONE I CAN'T ACCESS MY REPLIT😟😮💨
Use vs code
Make new account
Mine also not working
Day-14 complete ✅✅
love you harry bhai i am from Pakistan and i am learning from you from day 1 "you are the best teacher".
Pranam bhrata 🙏 apka bahut bahut dhanyawad ❤️❤️🙏😇
Hay Harry devta.
You are are amazing bro.❤🤟
Great sir 🙏❤️
I'm in 5th grade, from indore
i am learning python from your videos
i love your teaching , thankyou bhiya
what the hell! Bro
Really excellent work sir, really appreciated training by you, keep it up
Thank you Harry Bhai
nice explanation harry bhai loving your videos
MAZA AA RAHA H SIR 😁
a=int(input("whats your age "))
print(a)
if (a>=18):
print("you can drive")
else:
print("you can not drive")
Bhai kitni Sikh Li python apne
Great ❤
Day 14 Present Sir 🙋♂
a = 5
b = 10
print(a > b) # False
print(a < b) # True
print(a == b) # False
print(a != b) # True
Amazing 😍
Lesson completed,Harry bhai
Super harry bhai