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.
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")
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")
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
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
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. 🙏
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...💝💖💫
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
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")
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!")
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")
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")
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.
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")
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")
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
It's amazing!! Master Control Flow in Python in just 20 minutes!! Watch this video by Ninepointers for FREE!! ruclips.net/video/zO9Z4inmLzM/видео.html :)😍
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")
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
# # 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!
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")
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")
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")
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")
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")
#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
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🥰🥰
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
time stamp 9:30 print("Enter Your Age Here") age = int(input()) if age>18: print("Congrats, You are eligible to drive a car") elif age==18: print("you are at the age of 18, so we cant decide your eligiblity online," " You have to come Physically to pass the driving test") else: print("your age is not enough for driving")
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")
print("ENTER YOUR AGE") age=(int(input())) if 7100: if age > 18: print('You can drive') elif age == 18: print('You are 18 And we cany decide. Please come physically.') else: print('Enter a valid age i.e 7
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.")
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")
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"
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
ag1= (18) ag2= int(input("enter your age ")) if ag2>ag1: print("You can drive :)") elif ag1==ag2: print("Can't decide we will check physically") else: print("You can't drive")
print("what is your age") age = int(input()) if age100: print("invalid age") if age==0: print("can not possible") elif age==18: print("we can not decide ,visit us personally ") else: print("you can drive")
print("entre your age") age = int(input()) if age > 100 : print("cannot be accepted ") elif age < 18 : print("you cannot drive") elif age == 18 : print("we will think about you") elif age > 18 : print("you can drive")
"""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
It's amazing!! Master Control Flow in Python in just 20 minutes!! Watch this video by Ninepointers for FREE!! ruclips.net/video/zO9Z4inmLzM/видео.html ☺
@@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
Age = input (" Enter your age : ") if int(Age)>=18: Print (" Chal gari Chala") else: Print (" gari Kay pass bhi maat ja") I just started learning like a week ago So far I really love the way of your teaching style. Keep it up brother 💕
print("Enter your age") age = int(input()) if age in range (7,100): age1 = age if age1 < 18: print("You cant drive") elif age1 == 18: print("we will think about it") else: print("You can drive") else: print("you entered wrong value")
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')
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()
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
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")
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
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
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
#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")
# 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
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")
age=int(input("Enter your age: ")) if(age100): print("Bruh! seriously?") elif(age>18): print("As you are an adult, you can drive") elif(age==18): print("We can not decide. You have to visit us to test you whether you can drive or not.") else: print("You are not an adult. You can not drive")
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")
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
print("Enter your age") per1=int(input()) if per1>18: print("You are eligible to drive") elif per1==18: print("you need to come to my ofice and I will see you physical condition and tell if you are eligible or not") else:print("you are not eligible")
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")
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.")
print("What's your age: ") age = int(input()) if age in range(7, 100): if age > 18: print("You are eligible to drive") elif age == 18: print("You are physically fit to drive, apply for driving license") else: print("You are not eligible to drive") else: print("Invalid age entered")
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.")
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
var1=18 var2=int(input("enter your age ")) if var2var1: print("you can drive") elif var2==var1: print("physically check") if var2>90: print("you are too old to drive") else : print("error")
print("What is your age?") age = int(input()) if age > 18: print("You are eligible for this") elif age==18: print("We will inform you after verification") if age < 18: print("You are not eligible for this")
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.
not running bro
@@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
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")
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")
@@shashwatmidha4452 print ("welcome to python drivers")
print("please type your age")
var1 = 18
var2 = 99
var3 = int(input())
if var1
print("zara umar btao apni")
age=int(input())
if 18
😂😂😂😂🤪🤪😄
hahahahahahaha nice
😃😃
🤣🤣😂
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
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
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. 🙏
print("Enter your age ")
age=int(input())
if 18
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...💝💖💫
age = int(input('Enter your age :'))
if 18
age = int(input('Enter your age :'))
if 18
@@nitd27 I think it is not totally correct
@@nitd27 elif(age>100 or age100,age
@@Saur-g9r exactly ur right
@@Saur-g9r also we can add here as
elif(age>100 and age
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
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
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")
CORRECTION: you can not use "and" operator you should use "or" operator.
for "or": if age>18 or age
if someone's age is more then 60
so how can call him for physical test??
kanad biswas .....wrongly said ...and is correct not or
nice
Print(" what is your age?")
Age = int(input())
if 7
age = int(input())
if age>18:
if age
user_age=int(input("Enter Your Age:"))
if 7
print("chal aayu bataa")
age=int(input())
if 18
mast
🤣🤣
Bhajan kirtan sirf bhude nhi krte!!
Yongster v krte hai pr tum bacho se ham ummid v kya kr skte hai 😬
@@amankeshri76 abey ja na ❤️day kaam karna apna...comment ko sarcasm ki tarah le mand buddhi balak
😂🤣😂🤣😂🤣 MAI BHI YAHI SAB SOCH RHA THA
age=int(input("Enter your age:",))
if age100:
print("This is not a logical age")
elif age
Your code is well optimised ...
Excellent
'or' statement isn't defined in this tutorial 😵
Heyy apka coda thoda sa galat hai
@@soniyakanodia7316 shi bola kahin kahin galti hai
print("What is your age")
age=int(input())
if 18
thanks bro this solution was helpful
@@vinaypritwani Welcome bro
age= int(input("enter your age
"))
if age>=18:
print("u r adult")
elif 16>=age=age=age
@@abhaymandal2292 check your 4th line
@@debojyotirej9290
My code is right bro
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!")
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")
print("aap gadi chala sakte ho ya nahi")
print("apni age batao")
age=int(input())
if age
bro code in the elif age
@@user-jp3dp9gf9mend ka bracket gayab hai
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")
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.
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")
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")
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
It's amazing!! Master Control Flow in Python in just 20 minutes!! Watch this video by Ninepointers for FREE!!
ruclips.net/video/zO9Z4inmLzM/видео.html
:)😍
if a> 18: is Rong bro
Alll is right 👍
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")
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 . 😂😂
Plz Man Im Following This Tutorial Can U Explain Me Something?
@@thelostar YUP
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
Here is my try:-
print("Please enter your valid age")
age = int (input ())
if 7>age or 45
# # 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!
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")
nice name😅😆
aur shubham kaisa hai re tu
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
maine bhi sae banaya
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")
a=int(input("enter your age"))
if a>18 and a
Bro, its wrong. he said to set the limit of 101(^^)
glt h bhai
@@krrishsingh3293 so what is solution plz
@@faheemsification nthg just add another else statement n modify the previous one
Uid bhej apna tu
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")
age=int(input("What is your age?:"))
if (age7):
print("You cannot drive")
elif (age==18):
print("We will think about it")
elif (age>18) and (age
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")
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")
@io. Bhai range hai woh 7 sai 100
@io. Yeh bhai hai yrr😄
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
Hurray......fell in love with python 😊😊....harry is so wonderful
Yeah 😁
Ohhh good 😅
Mee too
😂
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
#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
a =int(input("Enter your age :"))
if a18 :
print("yes you can drive if you're having license")
else:
print("please Enter your age")
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🥰🥰
I think aap apne school mai teachers ki bhi chaata karte the
@@nandinigupta1913 kya socha h yrr tune 😂😂😂 mauj krdi 🤣🤣
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
time stamp 9:30
print("Enter Your Age Here")
age = int(input())
if age>18:
print("Congrats, You are eligible to drive a car")
elif age==18:
print("you are at the age of 18, so we cant decide your eligiblity online,"
"
You have to come Physically to pass the driving test")
else:
print("your age is not enough for driving")
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")
😂 Run...Thun na na na na na
😂😂😂😂well done bro
😂😂😂
Very well done 😂
Btw nice code
BRO I AM FROM PAKISTAN I LOVED YOUR VIDEOS and love the way you explain love from pak
me too
Arry baba hm bi
welcome bro in india
me too
Welcome bro in India
print("ENTER YOUR AGE")
age=(int(input()))
if 7100:
if age > 18:
print('You can drive')
elif age == 18:
print('You are 18 And we cany decide. Please come physically.')
else:
print('Enter a valid age i.e 7
age=int(input("enter your age in between 5-100 :"))
if age100:
print("please enter a valid age :")
elif age
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.")
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")
a=int(input("what is your age?:"))
if a>18:
print("you can drive")
elif a
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"
arhar ki daal na mile toh bhindi ki sabji lete aana ....hhahahah...
age=int(input("Enter your age:
))
if(age>18 and age
your first line is wrong missing a quotation mark
No bro your answer is write
@@Waso369after see
no quotation mark
as per requirement this program is wrong if age is 0 or 1 or -5
Hey BINOD.......!!slay point waala!!!!😀😀
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
ag1= (18)
ag2= int(input("enter your age
"))
if ag2>ag1:
print("You can drive :)")
elif ag1==ag2:
print("Can't decide
we will check physically")
else:
print("You can't drive")
print("what is your age")
age = int(input())
if age100:
print("invalid age")
if age==0:
print("can not possible")
elif age==18:
print("we can not decide ,visit us personally ")
else:
print("you can drive")
Thank you so much sir God bless you😍
Best channel i found for my programming in python....
age = int(input("Enter your age:
"))
if age
print("entre your age")
age = int(input())
if age > 100 :
print("cannot be accepted ")
elif age < 18 :
print("you cannot drive")
elif age == 18 :
print("we will think about you")
elif age > 18 :
print("you can drive")
"""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
ruclips.net/channel/UC0IyUoPAzg8U79tqx1YRSEw
Tell me what if my age is 150 ? Can you solve this..?
It's amazing!! Master Control Flow in Python in just 20 minutes!! Watch this video by Ninepointers for FREE!!
ruclips.net/video/zO9Z4inmLzM/видео.html
☺
@@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
Age = input (" Enter your age : ")
if int(Age)>=18:
Print (" Chal gari Chala")
else:
Print (" gari Kay pass bhi maat ja")
I just started learning like a week ago
So far I really love the way of your teaching style. Keep it up brother 💕
bro you are watching 2018 video in 2022
@@aasheesh6001 yes bro. I just started learning. I am trying to follow the tutorial A to Z. So far so good
@@mushfiqurrahman3803 good luck.
print('What is your age ?')
age = int(input())
if age65:
print('You are very old to drive.')
else:
print('Yes, you can drive')
print("Enter your age")
age = int(input())
if age in range (7,100):
age1 = age
if age1 < 18:
print("You cant drive")
elif age1 == 18:
print("we will think about it")
else:
print("You can drive")
else:
print("you entered wrong value")
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')
Wow
#simple_method
Print("what is your age")
age = int(input() )
If age >=100:
Print("invalid age")
elif age
Thanks buddy it really help me
@Creator AnoNymous no it's correct.......
I am not getting any type of error msg
Its correct but what if age is equal to 18
print("what is your age")
age = int(input() )
if age >100:
print("invalid age")
elif age
print("What is your age")
age = int(input())
if age100:
print("This is not logical age")
elif age==18:
print("we are not decide")
elif age
print("Enter your age")
age = int(input())
if age>100:
print("Enter your valdit age")
elif age>18:
print("You are ebgbal to drive")
elif age
Im watching these series in 2021 and I'm in b tech final yr!!
thanks man
Bro me bhi hu tere sath😉
Me too
me bhi
bhai BTech mein kya padaya please batao mein 12th me hu BTECH lene ka soch raha hu
@@kiankumar5529 mt leta bahi bhool kr mt bhi zindgi bhr ryoyega
MashAllah Harry bhai awesome bht allaw isi trah quiz or small projects daity rehna... Thank you so much ...Allah bless you brother
Sahi ha bhi
print("what is your age")
age=18
drive_age=int(input())
if age
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")
I started learning now😭
print("your age")
age=int(input())
if age >1 and age
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()
Age = int(input("enter your age"))
If age > 18 and age
This is littel bit funny
print("What is your age")
age = int(input())
if 7
age=int(input("enter the age here"))
if age>18:
print("you can drive")
elif age
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
I'm not so good at writing programmes but yea learning and so far python is going great 🙂😌
Thanks bro for this 🤗
Super video sir... Thank you... No improvement needed🤗
print("Type your age for driving")
var1 = 18
var2 = 7
var3 = 90
age = int(input())
if var1var3:
print(" You can drive")
elif age
@@sussss4332 you have not used this conditions properly . Please correct those.
@@sussss4332 check your first if "age>var3"
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")
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
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
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
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
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")
print("Enter your age :")
age = int(input())
if 6
#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")
# 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
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")
Hey can you tell me if we put condition in else or not
age=int(input("Enter your age: "))
if(age100):
print("Bruh! seriously?")
elif(age>18):
print("As you are an adult, you can drive")
elif(age==18):
print("We can not decide. You have to visit us to test you whether you can drive or not.")
else:
print("You are not an adult. You can not drive")
print('Enter your age:')
age = int(input())
if age>99 or age
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")
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
print("Enter your age")
per1=int(input())
if per1>18:
print("You are eligible to drive")
elif per1==18:
print("you need to come to my ofice and I will see you physical condition and tell if you are eligible or not")
else:print("you are not eligible")
print("ENTER YOU AGE FOR ACCESS:")
age=int(input())
if age 18:
print("YOU CAN DRIVE")
elif age
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")
You got me correct! Thanks!
U got me ryt...thankeww😊
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.")
print("ENTER YOUR AGE:")
age= int(input())
if (7
In this second if also run when you enter age above 18
print("what is your age?")
age=int(input())
if age
print("What's your age: ")
age = int(input())
if age in range(7, 100):
if age > 18:
print("You are eligible to drive")
elif age == 18:
print("You are physically fit to drive, apply for driving license")
else:
print("You are not eligible to drive")
else:
print("Invalid age entered")
print("Type your age below")
Age = int(input())
if Age>18 and Age
not working on 2
use >= and
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.
print ("What is your age??")
print = int( input () )
if ( age18) :
print ("You can drive our lamborghini")
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.")
print('enter your age')
age = float(input())
if 7
Why you take float bro
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
var1=18
var2=int(input("enter your age "))
if var2var1:
print("you can drive")
elif var2==var1:
print("physically check")
if var2>90:
print("you are too old to drive")
else :
print("error")
print("What is your age?")
age = int(input())
if age > 18:
print("You are eligible for this")
elif age==18:
print("We will inform you after verification")
if age < 18:
print("You are not eligible for this")