print("zara umar btao apni") age=int(input()) if 18
@anmolprashar77374 жыл бұрын
😂😂😂😂🤪🤪😄
@kunjikatripathi64084 жыл бұрын
hahahahahahaha nice
@kislaykrishna89184 жыл бұрын
😃😃
@anshusharma63694 жыл бұрын
🤣🤣😂
@jatinsaini77734 жыл бұрын
Glt h bro. 7 se km ka age wala b.. 100 se less h .. to mtlb tb b.. statement "tum sb chla sktr ho" hi print hoga.. Lkin quiz k according hme age limit 7-100 rkhni h
@rahulshukla50335 жыл бұрын
age = int(input("Enter your age: ")) if age > 18 and age < 101: print("you can drive") elif age > 7 and age < 18: print("you can't drive") elif age == 18: print("come for physical test") else: print("not a valid age")
@kanadbaranbiswas32245 жыл бұрын
CORRECTION: you can not use "and" operator you should use "or" operator.
@hrushikeshkulkarni73534 жыл бұрын
for "or": if age>18 or age
@jainilpatel88184 жыл бұрын
if someone's age is more then 60 so how can call him for physical test??
@yashik-xn6vm4 жыл бұрын
kanad biswas .....wrongly said ...and is correct not or
@MRSakil-zk2bm4 жыл бұрын
nice
@MystikPrae2 жыл бұрын
print("What is your age") age = int(input()) if age100: print("Please enter your valid age") elif age18: print("You are eligible for driving license") elif age==18: print("You should visit our office for pysical test as you are exact 18") else: print("Please go to your home and just enganged in study") #code by Pratik Pokhrel Lots of love from Nepal harry and thank you so much.
@FORTUNATECOLLEGE2 жыл бұрын
not running bro
@vinayomkar92 жыл бұрын
@@FORTUNATECOLLEGE a = 18 b = int(input("Enter your age :")) if 7>b or b>100: print('plzz check age ') elif b>a : print('u can drive ') elif b
@Top10PubgMobile2 жыл бұрын
check my code way better and easier print("Enter your age") var2= 18 var3= int(input()) if var3>var2: print ("You can drive") elif var3==var2: print("Come to us physically to decide wether you can drive or not") else: print("You can't drive")
@shashwatmidha4452 Жыл бұрын
print("enter age") a = int(input()) if a100: print("enter valid age between 7 and 100") else: if a> 18: print("you can drive") elif a==18: print("you need to visit rto") else: print("you cannot drive")
@Rehan1278 Жыл бұрын
@@shashwatmidha4452 print ("welcome to python drivers") print("please type your age") var1 = 18 var2 = 99 var3 = int(input()) if var1
@gaurikajangid61692 жыл бұрын
print('Enter your age ') age = int(input()) if age>18: print('You are eligible for the driving') elif age==18: print('you need to come and take a driving test') else: print('You are not eligible for driving') Thank you Harry bhaiya....this is the first time, aaj pahli baar bina kisi taakaa jhaaki ke apna khud se likh ke output la pyi...pahli baar error khud se sovle kari and successful bhi hui...💝💖💫
@milan87862 Жыл бұрын
print("Enter your age ") age=int(input()) if 18
@vinayomkar92 жыл бұрын
a = 18 b = int(input("Enter your age :")) if 7>b or b>100: print('plzz check age ') elif b>a : print('u can drive ') elif b
@vijaykumar0744 жыл бұрын
print("aap gadi chala sakte ho ya nahi") print("apni age batao") age=int(input()) if age
@SurajSangule-h4b10 ай бұрын
bro code in the elif age
@nj_1499 ай бұрын
@@SurajSangule-h4bend ka bracket gayab hai
@addictedcoderz68943 жыл бұрын
age=int(input("Enter your age:",)) if age100: print("This is not a logical age") elif age
@M27GAMES272 жыл бұрын
Your code is well optimised ...
@moeezkhan5612 жыл бұрын
Excellent
@itzzzyashu2 жыл бұрын
'or' statement isn't defined in this tutorial 😵
@soniyakanodia73162 жыл бұрын
Heyy apka coda thoda sa galat hai
@awesomegameshub57382 жыл бұрын
@@soniyakanodia7316 shi bola kahin kahin galti hai
@kashifjabbar12062 жыл бұрын
Thank you so much for making these coding lectures a piece of cake! I've also added an exception in the program to deal with a situation when a user types a string. The code is as follows:- try: x = input("Please enter your age: ") age=int(x) except ValueError: print("Please enter a valid age i.e. 7, 18, 25 etc") try: if age>18: print("You are eligible to drive") elif age
@KoushikDas20052 жыл бұрын
I really can't understand why you people have used try and except and every other advanced stuff which he has not taught yet. Be a reasonable programmer. 🙏
@sidrubx0739 ай бұрын
age = int(input()) if age>18: if age
@jayantabose82672 жыл бұрын
Thank you sir for giving me the opportunity to Solve the Question. In spite of being a non-tech , it is a pleasure moment for me to write a code by myself. My answer--- print("Welcome To Driving School Online Portal") a = int(input("Enter Your Age: ")) if a>=7 and a 18: print("You Are Eligible to Drive") elif a==18: print("Can't be Decided. Please Come To The Office Physically") elif a
@asshivam81172 жыл бұрын
It's amazing!! Master Control Flow in Python in just 20 minutes!! Watch this video by Ninepointers for FREE!! kzbin.info/www/bejne/sICci2efo9J_sK8 :)😍
@Mnsaifalikhan2 жыл бұрын
if a> 18: is Rong bro
@Mnsaifalikhan2 жыл бұрын
Alll is right 👍
@mohindersutrave4 жыл бұрын
Thank you so much Harry: here is my try print("Enter an age between 7 and 100:") age = int(input()) if age in range(7,100): if age 18: print("Congracts! you can drive") elif age >100: print("Enter value of age between 7 and 100")
@mr.arindamkhan3 жыл бұрын
Bhi you have just a small Bug in your programe☺ Look i cleard the Bug--> print("Enter an age between 7 and 100:") age = int(input()) if age in range(7,100): if age 18: print("Congracts! you can drive") else: print("Enter value of age between 7 and 100")
@sanjayjituri55914 жыл бұрын
Harry Bhai jaise ki aap ne kahata aap ka answer var1 = 19 var2 = 18 var3 = int(input("Tell your real age: ")) if var3>var2: print("You can drive with us") elif var3==var2: print("Your age is 18 we cannot deside") else: print("you cannot drive with us")
@MystikPrae2 жыл бұрын
print("Please enter your age") age = int(input()) if age18: print("You are allowed to drive") elif age == 18: print("You are requested to meet up with us and we will decide") #code by Pratik Pokhrel.Lots of love from Nepal harry.
@cashubhammittal16093 жыл бұрын
Print(" what is your age?") Age = int(input()) if 7
@yashveersingh29852 жыл бұрын
age= int(input("What is your age ")) if age in range(7,100): if age==18: print("We can't decide you have to be physically available to get a liscence") elif age>18: print("you are eligible for liscence") else: print("you are not eligible for liscence") else: print("not a valid age")
@VnM-vm3wm2 жыл бұрын
we could make it more efficient imo print("enter yo dumass age") age = int(input()) if ageage>7 : print("cant even use a computer while dead? lmaooo noob") else : print("damn bitch you hugee")
@yashveersingh29852 жыл бұрын
@io. Bhai range hai woh 7 sai 100
@yashveersingh29852 жыл бұрын
@io. Yeh bhai hai yrr😄
@RohitKumar-bf9sp Жыл бұрын
at line 2 it will be for i in range and write 101 instead of 100 as the loop terminates when the condition becomes true
@varunarya21263 жыл бұрын
I like one thing about Harry the most, when he says - "aur mai apni computer ki screen mein aa gya hun" He is literally in there . 😂😂
@thelostar3 жыл бұрын
Plz Man Im Following This Tutorial Can U Explain Me Something?
@krishna290gamer22 жыл бұрын
@@thelostar YUP
@ni2082 жыл бұрын
print("enter your age to check your eleigibility for driving") bar1=18 bar2=int(input()) if bar2>bar1: print("you are eligible for driving") elif bar2==bar1: print("please visit RTO office to get varified") else: print("you are not eligible for driving") " Thank You Harry bhayya for all your efforts here"
@billu_saanda252 жыл бұрын
print("What is your age") age=int(input()) if 18
@vinaypritwani2 жыл бұрын
thanks bro this solution was helpful
@billu_saanda252 жыл бұрын
@@vinaypritwani Welcome bro
@abhaymandal22922 жыл бұрын
age= int(input("enter your age ")) if age>=18: print("u r adult") elif 16>=age=age=age
@debojyotirej92902 жыл бұрын
@@abhaymandal2292 check your 4th line
@abhaymandal22922 жыл бұрын
@@debojyotirej9290 My code is right bro
@binodtharu35184 жыл бұрын
age=int(input("Enter your age: )) if(age>18 and age
@bhaveshsahu38494 жыл бұрын
your first line is wrong missing a quotation mark
@Waso3694 жыл бұрын
No bro your answer is write
@bhaveshsahu38494 жыл бұрын
@@Waso369after see no quotation mark
@snehalparekh67724 жыл бұрын
as per requirement this program is wrong if age is 0 or 1 or -5
@shubham86184 жыл бұрын
Hey BINOD.......!!slay point waala!!!!😀😀
@simplygamedeveloper78592 жыл бұрын
Good video for basic exercises and quick recap. btw, here is my program try: age = int(input("Enter your age:")) if age100: print("Please enter a logical age which is b/w 7 and 100.") elif age > 18: print("You are eligible for driving licence.") elif age < 18: print("You are not eligible for driving licence") else: print("Since your age is exactly 18, we would have to take a offline test for your driving licence.")
@kallurugiresh87892 жыл бұрын
The way you teach concept is awesome, Thank you harry bhai! Quiz ---------------------------- print("Welcome to my portal Hope you are all good!") print("what is your age ? ") age1 = 18 age2 = int(input()) if age2 > age1 : print("you can drive the vehicle!") elif age2 == age1: print("we can't decide about that! come to my office and we will check your driving skill!") else: print("you can't drive the vehicle!") print(" Thank you!")
@prajnaparamita30084 жыл бұрын
"""Thank you so much Harry vai for your effort to teach us coding effectively and by seeing each video, I realize learning is indeed fun ! Here is my first attempt as a complete newbie,""" print("Enter your age") age=int(input()) if age>18: print("Yeah, you are qualified!!") elif age
@pinkigupta70572 жыл бұрын
kzbin.info/door/0IyUoPAzg8U79tqx1YRSEw
@kiranlondhe71632 жыл бұрын
Tell me what if my age is 150 ? Can you solve this..?
@asshivam81172 жыл бұрын
It's amazing!! Master Control Flow in Python in just 20 minutes!! Watch this video by Ninepointers for FREE!! kzbin.info/www/bejne/sICci2efo9J_sK8 ☺
@som65532 жыл бұрын
@@kiranlondhe7163 # PRogram to check if the person is eligible to drive or not print("Please enter your age!") age = int(input()) if(age100): print("invalid age") elif(age7): print("You are not eligble to drive") elif(age>18 and age
@itxanime89364 жыл бұрын
After 1 years😂😂i tried your couse thx harry sir print("enter your name plz ") input() print("nice name ") print("now enter your age plz") var1 = 18 var2 = int(input()) if var2>var1: print("yes you are a perfect driver") elif var2==var1: print("we cannot say that you have to.come for driving test") else: print("you have to wait for some years")
@shivamkumar-qo5pz4 жыл бұрын
nice name😅😆
@dancelikeapro41484 жыл бұрын
aur shubham kaisa hai re tu
@shrikrishnaumbare3 жыл бұрын
You have to wait for some years ..i liked that concept even we can tell them how many years they have to wait by just subtrating there age from 18
@AkashSingh-yp7kl3 жыл бұрын
maine bhi sae banaya
@rishabhverma57783 жыл бұрын
age =int(input("please fill up your age: \t")) if age>18: print("you are eligble") elif age==18: print("you have to come here") else: print("you are'nt eligble")
@surajbiswas43774 жыл бұрын
var1=int(input("Enter your age : ")) if var1150: print("Enter a valid number") elif var1>60: print("You are not eligible uncle") else: print("You can drive") BY THE WAY I AM A 12 TH STANDARD STUDENT AND LEARNING PYTHON FROM YOUR COURSE . THANKS A LOT🥰🥰
@nandinigupta19132 жыл бұрын
I think aap apne school mai teachers ki bhi chaata karte the
@sonu-qx8cf2 жыл бұрын
@@nandinigupta1913 kya socha h yrr tune 😂😂😂 mauj krdi 🤣🤣
@anjalitaliyan75944 жыл бұрын
Hurray......fell in love with python 😊😊....harry is so wonderful
@amitmishra024113 жыл бұрын
Yeah 😁
@RahulGupta-po1gc3 жыл бұрын
Ohhh good 😅
@ankushwalia96302 жыл бұрын
Mee too
@commonman57672 жыл бұрын
😂
@daksh23952 жыл бұрын
But I fell in love with you after see your beautiful and attractive face and wonderful eyes like gems 💎 Thanks to god to do extra efforts in your face
@theunknownone68334 жыл бұрын
a=int(input("enter your age")) if a>18 and a
@krrishsingh32934 жыл бұрын
Bro, its wrong. he said to set the limit of 101(^^)
@uiui9953 жыл бұрын
glt h bhai
@faheemsification3 жыл бұрын
@@krrishsingh3293 so what is solution plz
@krrishsingh32933 жыл бұрын
@@faheemsification nthg just add another else statement n modify the previous one
@omprakashmandal7813 жыл бұрын
Uid bhej apna tu
@KoushikDas20052 жыл бұрын
22 December 2022 10:12 n=int(input ("Enter your age :(only integer input allowed)")) if n>18: print("yes ,you are eligible to drive") elif n==18: print("come for a physical test as we can't say about your driving skills") else: print("no,you are not eligible to drive")
@valmikwagh58623 жыл бұрын
Python supports the usual logical conditions from mathematics: Equals: a == b Not Equals: a != b Less than: a < b Less than or equal to: a b Greater than or equal to: a >= b
@futureiitian70772 жыл бұрын
I'm not so good at writing programmes but yea learning and so far python is going great 🙂😌
@akashbiswas56172 жыл бұрын
Thanks bro for this 🤗
@Jashanvlogssssmr.4 жыл бұрын
Best channel i found for my programming in python....
@ayeshakhalid57082 жыл бұрын
Thank you so much sir God bless you😍
@tobesesrious6730 Жыл бұрын
# # harry's exercise for age limit checking # while True: # age = int(input('Enter you age in numbers: ')) # if age > 100: # print("You should not drive!") # elif age >= 18: # print("You are eligible for driving.") # elif age < 18: # print("You are not eligible for driving.") # else: # print("Something went wrong! Please try again.") ## You are too good bro you helped a lot!
@saieditx14 жыл бұрын
Age = int(input("enter your age")) If age > 18 and age
@DevenderKumar-sh2dc3 жыл бұрын
This is littel bit funny
@bhaveshwagh27416 жыл бұрын
Super video sir... Thank you... No improvement needed🤗
@sussss43323 жыл бұрын
print("Type your age for driving") var1 = 18 var2 = 7 var3 = 90 age = int(input()) if var1var3: print(" You can drive") elif age
@bhaveshwagh27413 жыл бұрын
@@sussss4332 you have not used this conditions properly . Please correct those.
@SandeepSharma-lm1ye3 жыл бұрын
@@sussss4332 check your first if "age>var3"
@muhammadfarhan24933 жыл бұрын
MASH'ALLAH Harry Bhaii....boht kamaal ka kaam kr rhy hain....Allah Aap ko Hamesha Khush rkhy r is Ka ajar dy aap ko....love uh
@ramtripathi1621 Жыл бұрын
age= int(input("enter your age")) if age100 print(" You are either a toddler or someone about to die please don't drive") elif age>18: print("Yes you can drive") elif age==18: print("Let's check if you can drive once you visit us.") else: print("Nope you can't drive.") #Thanks Harry bro
@mudassirraza40666 жыл бұрын
MashAllah Harry bhai awesome bht allaw isi trah quiz or small projects daity rehna... Thank you so much ...Allah bless you brother
@bilkiskhan17092 жыл бұрын
Sahi ha bhi
@Mayank-Pawar2 жыл бұрын
var1 = 18 var3 = int(input()) if var3 > var1: print("You can Drive") elif var3==var1: print("Cannot Decide, Come at the place so that we can decide") else: print("You cannot Drive")
@assiiaan Жыл бұрын
Hey can you tell me if we put condition in else or not
@SukhwinderKaur-mo9vi3 жыл бұрын
a = int(input("enter your age ")) if a > 18 : print ("greater") elif a == 18: print ("equal") else: print ("lesser") Elif lagana toh kush zyada he zaruri hai
@rajneeshgupta3302 жыл бұрын
inp = str(input('your age ')) list = 18 if int(inp) > list: print("you are eligible for driving") elif int(inp)==list: print('you are eligible for driving but you have to give test') elif int(inp) < list: print('you are not eligible for driving') FIRST PROGRAM EVER
@amoghparab16892 жыл бұрын
print("What is your age?") a=int(input()) b=18 c=100 if ac: print("Enter logical age") elif a==b: print("We cannot decide if you are eligible for driving license") else : print("You are eligible for driving license")
@utkarshbisht72734 жыл бұрын
print("ENTER YOUR AGE:") age= int(input()) if (7
@akashkb69054 жыл бұрын
In this second if also run when you enter age above 18
@theyoungsters35112 жыл бұрын
good work friend . Thanks alot for making these coding lectures a piece of cake! I've also added an exception in the program to deal with a situation when a user types a string
@cuteanimals270 Жыл бұрын
Here is my try:- print("Please enter your valid age") age = int (input ()) if 7>age or 45
@Rahulsingh-lm1ho4 жыл бұрын
Age = int(input("enter your age")) If age>18: Print("you can drive sir") Elif age==18: Print("come for trail") Else: Print ("u can not")
@umairabdullah90412 жыл бұрын
print('Enter your age:') age = int(input()) if 18 < age < 100: print('You are eligible to drive.') elif 7 < age < 18: print('You are not eligible to drive.') elif age == 18: print('You have to visit the RTO office for physical confirmation.') else: print('Age is not valid')
@intelgaleedits12542 жыл бұрын
Wow
@ctrlaltcodeshots5 жыл бұрын
#simple_method Print("what is your age") age = int(input() ) If age >=100: Print("invalid age") elif age
@Internetlife0075 жыл бұрын
Thanks buddy it really help me
@vaibhavtapdiya70775 жыл бұрын
@Creator AnoNymous no it's correct....... I am not getting any type of error msg
@harrycreations68255 жыл бұрын
Its correct but what if age is equal to 18
@akshitmarwaha68574 жыл бұрын
print("what is your age") age = int(input() ) if age >100: print("invalid age") elif age
@snivin56182 жыл бұрын
age = int(input("Enter your age: ")) if age
@mrinalkumar10772 жыл бұрын
arhar ki daal na mile toh bhindi ki sabji lete aana ....hhahahah...
@shaikzubair59263 жыл бұрын
Im watching these series in 2021 and I'm in b tech final yr!! thanks man
@nuclergaming99693 жыл бұрын
Bro me bhi hu tere sath😉
@zainbaloch48503 жыл бұрын
Me too
@gouravsingh2353 жыл бұрын
me bhi
@kiankumar55293 жыл бұрын
bhai BTech mein kya padaya please batao mein 12th me hu BTECH lene ka soch raha hu
print("Enter your age") Age=int(input()) if Age>200: print("Invalid age") elif Age18: print("You can drive a car") elif Age==18: print("You should have physicaly appear here then we will decide you can drive or not") else: print("You cannot drive a car")
@k4kashan1212 жыл бұрын
Are bro you did a good job
@kshitijsaigal95292 жыл бұрын
Good yrr
@YogeshKumar-zj4tz2 жыл бұрын
Bhai isme to you can drive hi arha hai abhi bhi aisa kyu 200 se zada mai
@Amaterasu_Itachi2 жыл бұрын
@@YogeshKumar-zj4tz 18 se kam age input kro
@YogeshKumar-zj4tz2 жыл бұрын
Phr to shi arha hai ans bhai jab yh agr zada vali condition niche likh raha hu elif mai to glt ho raha hai
@rajangulati1793 Жыл бұрын
#RTO selection system a=int(input("enter your age:")) if a>18: print("you can drive and you can able to apply driving licence !") elif a==18: print("you can visit RTO physically we can check physically ! ") else: if a
@jardanpratapsingh52292 жыл бұрын
Jardan code: print("Hey user, Are you eligible for Driving? ", end="Check it out. ") Input = int(input("Enter your age: ")) Criteria = 4 Criteria_2 = 100 if Input > Criteria_2: print("Please enter valid age.") if Input
@meetmodi94374 жыл бұрын
req = 18 print("give ur age to check") age = int(input()) if age>7 and age req: print("u are eligable to get lisence ") elif (age == req): print("u can apply to get lisence after a meeting") else: print("get out boi!") else: print("good bye u cant apply")
@gamingnon-stop81673 жыл бұрын
Challenge accepted ^-^ print("What is your age ?") age_1 = int(input()) if age_1 < 18 < 100: print("You cannot drive..") elif age_1 == 18: print("we will think about it") elif age_1 > 100: print("Hoo....you are a ghost, RUN") else: print("You can drive")
@aryanphatarpekar6853 жыл бұрын
😂 Run...Thun na na na na na
@aryanphatarpekar2363 жыл бұрын
😂😂😂😂well done bro
@yatinphatarpekar71953 жыл бұрын
😂😂😂
@oatmeal.59083 жыл бұрын
Very well done 😂
@oatmeal.59083 жыл бұрын
Btw nice code
@aniketsangle15 Жыл бұрын
age=int(input("What is your age? ")) if 18
@manthanjagtap67362 жыл бұрын
#Challenge_Accepted print("Enter your age:") age = int(input()) if age100: print("Not a logical age") elif age>18: print("You can drive") elif age==18: print("Your age is 18, we can't decide, you have to come here physically then we'll see") else: print("You can't drive") print("Thank You")
@som65532 жыл бұрын
# PRogram to check if the person is eligible to drive or not print("Please enter your age!") age = int(input()) if(age100): print("invalid age") elif(age7): print("You are not eligble to drive") elif(age>18 and age
@shivaverma15352 жыл бұрын
9:28 Quiz answer cwh="Harry is amazing" #CWH May 2022, Python tutorials, vid:13, timelapse: 9:52 import time print("Hello user, this is Singh's Driving Club AI") username= input("What's your name? ") age=int(input("what's your age? ")) if age>18 and age
@sheetaldwivedi66902 жыл бұрын
print("Hi there kindly enter to check whethever you are eligible for driving or not.... ") age = int(input("Enter your age.....")) if age7 and age100: print("We will think about it. kindly leave your mail Id ") Email = input("Enter your Gmail ID Here..........") print(Email ,"Confirmed this is your Gmail ID....Have a nice day:)") #Thanks Harry sir for being our python teacher
@muzmmilpathan77816 жыл бұрын
age=int(input ("Enter your age:")) if age>=7 and age=16 or age
@pushpeshpandeytechnical5 жыл бұрын
wrong
@vijaybadgujar1515 жыл бұрын
Bhai tere code ko run kar bata error generate ho rahi he ya nahi
@jainikshah1899 Жыл бұрын
print("What is your age") age = int(input()) if 7
@yasaeshaikh88944 жыл бұрын
print("Enter Your age") age = int(input("What is Your age ? ")) if age60: print ("Don't think about it Uncle") else: print ("Lets go")
@adityaverma82094 жыл бұрын
age = int(input("enter your age")) if age>18: print("selected") if age==18: print("selected") else: print("not selected")
@kanadjadhav95144 жыл бұрын
I started learning now😭 print("your age") age=int(input()) if age >1 and age
@Abhishek-yk7ui4 жыл бұрын
Bro I have also started a few days ago.... check mine... """ Take Users age as an input and tell him he can drive a car or not... """ print("Whats your age?") age1 = int(input()) if age11: print("Go to kinder gardens and drive a toy car...") if age16: print("You are just a teenager,") print("You can't drive a car...") """ If your age is between 7 and 17 it will say you are a teenager and you cannot drive a car... """ if age1>17 and age171 and age1122: print("It seems like you are the OLDEST PERSON of Earth...") print("Sorry, Invalid age...") """ if your age is over 122years, it will say that you are the oldest person in the earth... that means invalid age ... """ exit()
@itsTyrantt Жыл бұрын
Thank You So Much Harry Sir Apse seekh kr mene age wala code bhi bnaya and khud se ek or bhi bnaya jo apne upr numbers ki list bnao thi apne to bas single dali thi na mene age wale program ki tara bnaya mere numbers hn 1 2 3 4 5 6 agr koi banda dale ga 1 - 6 mn se koi number to usse ayega Yes It Is or agr woh 6 se upr dale ga to ayega No its Not i know ye itni bari cheez nhi h but mene khud bnaya to socha aapke btao Age Program Code:- print("What is Your Age?") var1 = int(input()) # if var1>50: print("Age Limit"), if var1>18: print("Can Drive") elif var1==18: print("We'll Think") else: print("Can't Drive") Number List Program (Mine):- l1 = [1, 2, 3, 4, 5, 6] l2 = l1 print("Enter The Number You Want To Check") l2 = int(input()) if l2 in l1: print("Yes It Is") else: print("No Its Not")
@dhruvdosi15893 жыл бұрын
print('enter your age') age = float(input()) if 7
@shubham_wankhede25703 жыл бұрын
Why you take float bro
@seemapal12495 жыл бұрын
Print("what is ur age") age = int(input()) If age18 and age
@mohansharma51504 жыл бұрын
If age is 2 then according to your program it will write u cannot drive It will not write that don't apply for driving
@asadurrehman35912 жыл бұрын
thankyou sir. i am also watching 100 days of coding along with this
@KoushikDas20052 жыл бұрын
Same here.
@atharvakinhikar17422 жыл бұрын
age =int(input()) num=18 if age>num: print("youn can drive") elif age==num: print("we can't decide ") else: print("you are not in age grp")
@dishakariya83073 жыл бұрын
age=int(input("Enter the age between 7 to 100")) if(age>7 and age
@captainprice93043 жыл бұрын
Kya aap int input wala sceane samjha sakte ho
@tanmaydeshpande3004 Жыл бұрын
Hey @CodeWithHarry , thanks for your wonderful lectures, I found your channel today itself and those are really easy to understand. Actually I was doing some experiments with the condition but it did not work, could you please help me with the solution for the program below ? Purpose- I want the system to give the input box for "spouse name" if the user's marrital status is married and I tried this program but got an error. print ("Marrital status") MS = input() if MS == Married: print ("Name of your spouse")
@Rahulkatera10 ай бұрын
print ("enter your age") var=int(input()) var1=18 if (var99): print ("chick your age") elif (varvar1): print ("you can drive") else: print ("come for physical test")
@abhisheksekhri45115 жыл бұрын
var1=18 print("what is your age") var3= int(input()) if var3>100: print("Invalid Age") elif var3>=var1: print("you are Eligible") else: print("You are not eligible")
@spy15455 жыл бұрын
You got me correct! Thanks!
@Crazysam19025 жыл бұрын
U got me ryt...thankeww😊
@suraj82852 жыл бұрын
age = int(input("Enter your age = ")) if (90 > age >= 18): print("you can Drive.") elif(age >= 90): print("Visit RTO for Medical Verification.") else: print("According to our current rules You are not eligible to Drive.")
@himanshusharma-eu8lj3 жыл бұрын
Age = int(input("enter the age:")) If age>18: Print("you can drive") Elif age
@siddheshsorap4614 жыл бұрын
print("Enter you age") age=int(input()) if age>18: print("You can get a license") elif age==18: print("You may or may not get a license") else: print("You cannot get a license") edit: damnn harry's and my code is somewhat same..i didnt even knew that he's gonna give the answer in this video itself
@xmasiddiqui5 жыл бұрын
""" exercise : take an age from user, if age is less than 18, user is not eligible to apply for driving license if age is more than 18, user is eligible to apply for driving license if age is equal to 18, RTO will think about his eligibility """ age = int(input("Enter your age to check your driving license eligibility : ")) if age < 18: print("Not Eligible") elif age == 18: print("RTO will think about your eligibility because you are just 18 now") else: print("Eligible")
@Amritamiya_Indiawala5 жыл бұрын
age=int(input("Enter your age:")) if age >18: print("User is eligible to apply for driving license") elif age
@shailendrachandrajaiswal64403 жыл бұрын
print('Is your age between 7 to 100') var1=7 var2=100 var3=int(input()) if var3
@shailendrachandrajaiswal64403 жыл бұрын
Is it okay sir?
@420sakura12 жыл бұрын
You are doing Gods work for students too poor to take courses. I am learing more more from this than any courses i went to.
@parthdesai70742 жыл бұрын
a=int(input("enter you age:")) age = 18 if age>a: print("you are not drive") elif age==a: print("you are not drive") else: print("you are drive")
@rknanda2645 жыл бұрын
print("Enter Your Age in Year") age=int(input()) if age>18 and age
@witty_soul5 жыл бұрын
what if someone enters age above 101?
@rknanda2645 жыл бұрын
@@witty_soul bhai to else ki condition m jaye ga
@immortal3485 жыл бұрын
perfect
@devmonish3 жыл бұрын
UPDATE: print(" ENTER YOUR AGE TO CHECK YOUR ELIGIBILITY To DRIVE") age=int(input()) if 18=5: print(" chalana to sikh lo pahale") else: print("bHAGO BSDK,TUMASE NA HO PAYEGA")
@sumitExplains2 жыл бұрын
ooo bhai i resonate with you
@RahulSingh-zr8rj2 жыл бұрын
O Bhai Maro mujhe Maro 😂😂
@mr-noob-gang2 жыл бұрын
print("writ your age") var1 = 18 var2 = int(input()) if var1>var2: print("not eligible for driving") elif var1==var2: print("not decided.It will only decided when physically tested(driving)") else: print("you are eligible for driving")
@m.kamran1873 жыл бұрын
9:55 Quiz answer var1 = int(input("Enter your age: ")) if var180: print("Nikal Bhudde") elif var1>18: print("You should drive") elif var1
@adityasinghpayaal30623 жыл бұрын
bro its wrong because if you type 101 or 19 the output will be same. plz check thx me later
@rajk90344 жыл бұрын
var1 is angry with your code specially with statements and conditions. 🤣😂😂
@neenadnimje4 жыл бұрын
age = int(input("What is your age?")) required_age = 18 if age7: if age>required_age: print("You can drive.") elif age==required_age: print("We have to think over it.") else: print("You are too early to drive.") else: print("You are entering an undesirable age numerical.") else: print("You are entering an undesirable age numerical.")
@ritukalra96312 жыл бұрын
Very helpfull sir here's my code print("Welcome to our page, to know if you can drive please input your age") print("What is your age") age = int(input()) if age > 18: print("You are eligible to drive") elif age == 18: print("You are eligible to drive") else: print("Sorry you are not eligible to drive") print("Thank you for choosing our page, Have a good day ahead")
@lifehustlers1643 жыл бұрын
This guy is excessively obsessed with "bhindi" 😂😂😂😂😂😂😂😂😂
@pinkigupta70572 жыл бұрын
kzbin.info/door/0IyUoPAzg8U79tqx1YRSEw
@hsaaseries59762 жыл бұрын
Var1=18 Var2=("Tell me your age") Print (var2) Var3=int(input()) If var3< 7 or var3 >100 : Print("illogical age") Elif var1 var3: Print("you cannot drive") Elif var1 var3: Print("we can't decide,instead of checking physically") Else: Print("you can drive")
@Kirtansadhwani2 жыл бұрын
# Task print("what is your age") age = int(input()) if age
@bharamandevta9847 Жыл бұрын
a=int(input("what is your age?:")) if a>18: print("you can drive") elif a
@27-dcstjoshimsk342 жыл бұрын
age=int(input("enter your age in between 5-100 :")) if age100: print("please enter a valid age :") elif age
@Rajan_Jha-z7m2 жыл бұрын
age = int(input('enter the age:')) if (4 < age < 101): if age > 18: print('you can drive') elif age < 18: print('you cannot drive') else: print('come here for physical test') else: print('you are not eligible to drive the car')
@thaheer__20502 жыл бұрын
a =int(input("Enter your age :")) if a18 : print("yes you can drive if you're having license") else: print("please Enter your age")
@DriftGang19692 жыл бұрын
My first code :)} task := 11:30 #Age protocols about Computor use print("what is your age?") age = int(input()) if age 5 and age < 100: print("you can use computor") elif age > 100: print("you are over age for this") else: print("unvalid number")
@chandansarkar46812 жыл бұрын
var1=18 print("Enter your age ") var2=int(input()) if var2>var1: print("you are eligible to drive") elif var2==var1: print("you are not eligible give test") else: print("you are not eligible") this is mine first code all by my self i am so happy you can also try just copy and past
@zeeskhan56612 жыл бұрын
9:54: age = int(input("Enter your age please: ")) if age < 6 or age > 90: print("This is not a logical age") elif age > 18: print("You can drive!") elif age == 18: print("We can't decide it, we will think about it later...") else: print("You can't drive!")
@sohammaster4633 Жыл бұрын
a = 18 b = int(input()) if ab : print(" you cannot drive") elif a==b : print(" need to for check") elif b< 7: print(" your are not valide") elif b> 100: print("you age is too high")
@techsigmarobots2 жыл бұрын
while True: age=int(input("Please enter your age :")) if age18: print("Your age is more 18. So you can drive now") else: print("We can not decied it. Need to test physically")
@KishlayRajSanu2 жыл бұрын
10:20 n = int(input("Enter your age : ")) if n > 18 : print("You can drive") elif n == 18: print("Come physically") else: print("You are not eligible for drivng")
@pickX5392 жыл бұрын
age = int(input("Enter your age :")) if age>18: print("yes you can drive the car ") elif age == 18: print("yes u can") else: print("you can't drive the car")
@manumittal30002 жыл бұрын
Age= int(input()) if Age < 7 or Age > 100: print("Mention logical age") elif Age > 18: print("Drive") elif Age
@nikitaprasad16392 жыл бұрын
print("Enter your age :") Age= int(input()) if Age < 7 or Age > 100: print("Mention logical age") elif Age > 18: print("Drive") elif Age < 18: print("Can't Drive") else: print("Visit physically for test as you are 18") your code is totally correct just the first line is missing in it so i added that line :^)