gender = str(input("Enter your Gender. M for Male and F for Female :")) age = int(input("Enter your Age :")) min_age = int(22) min_age_s = int(18) need_more_s = int(min_age_s - age) need_more = int(min_age - age) if gender.lower() in ["m", "male"]: if age >= 22 and age = 31 and age = 46: print("Fuck of, Time to take some weed") else: print("Oops, You need to wait more" ,need_more, "years") if gender.lower() in ["f", "female"]: if age >= 18 and age = 29 and age = 41: print("If you are lucky, you can get someone") else: print("Oops, You need to wait more" , need_more_s , "years")
marks =10 if marks >= 80 and marks = 75 and marks = 70 and marks = 65 and marks = 60 and marks = 33 and marks 100: print("Your marks is out of range :xd ") else: print("Sorry you failed.Best of luck for next times.Don't loss hope try hard")
marks = int(input("Enter Your Mark :")) if marks>=80 and marks=70: print(" You have got (A)") elif marks>=60: print(" You have got (A-)") elif marks>=50: print(" You have got (B)") elif marks>=40: print(" You have got (C)") elif marks>=33: print(" You have got (C)") else : print("Sorry You have Failed.Better Luck Next Time")
Thank you so much, Sir! That means Conditional Control Statement:
if == and (Logical Operator)
elif == or(Logical Operator)
JazakAllah
print("gread")
x = int(input("Enter your mark: "))
if x >=80 and x=70 and x=60 and x=50 and x=40 and x=33 and x
Just awesome Sir. You are great
Thank you so much 😀
awesome!
thank you so much....
Love you vai❤️
tnx
Thank you.
You're welcome!
love from united public and college
love from united public school and college jamalpur
goood
done
Sir apni time Pele computer graphics er akta basic introduction Jodi den valo hoy.
thank you.Ai,machine learning er video cai sir
vai same code user input diye korle ki hbe?
gender = str(input("Enter your Gender. M for Male and F for Female :"))
age = int(input("Enter your Age :"))
min_age = int(22)
min_age_s = int(18)
need_more_s = int(min_age_s - age)
need_more = int(min_age - age)
if gender.lower() in ["m", "male"]:
if age >= 22 and age = 31 and age = 46:
print("Fuck of, Time to take some weed")
else:
print("Oops, You need to wait more" ,need_more, "years")
if gender.lower() in ["f", "female"]:
if age >= 18 and age = 29 and age = 41:
print("If you are lucky, you can get someone")
else:
print("Oops, You need to wait more" , need_more_s , "years")
MY god ! So cool bro;)
You are too good.
@@zayedhasan5541 Thanks
OG line :
print("Fuck of, Time to take some weed")
marks = 95
if 80
Prog is wrong. If you get 79.5 then?? The second condition should be less than 80.
marks =10
if marks >= 80 and marks = 75 and marks = 70 and marks = 65 and marks = 60 and marks = 33 and marks 100:
print("Your marks is out of range :xd ")
else:
print("Sorry you failed.Best of luck for next times.Don't loss hope try hard")
marks = int(input("Enter Your Mark :"))
if marks>=80 and marks=70:
print(" You have got (A)")
elif marks>=60:
print(" You have got (A-)")
elif marks>=50:
print(" You have got (B)")
elif marks>=40:
print(" You have got (C)")
elif marks>=33:
print(" You have got (C)")
else :
print("Sorry You have Failed.Better Luck Next Time")
mark=1000
result : A
how to fix it?