we can also write this simply like this: current_age= int(input("Enter your current age:")) age= 90-current_age print(f"you have {age*365} days,{age*52} weeks, and {age*12} months left to live")
Literally amazing , the way u telling is super mam.. ❤.. Basically i am mechanical background i don't noo about the programing Laungauge (python.once i watching u r videos daily 2 hrs. I completely learn python with in one month... U r hard work makes sooo many students bright future.. 😊💝... Keep u r journey... 👍✨
Here's an easier way which I figured out. a=int(input("Enter your age: ")) b=int(input("Enter life expectancy: ")) print(f"You have {b*365 - a*365} days left, {b*52 - a*52} weeks left and {b*12 - a*12} months left.") Thank you mam this was a wonderful exercise
age=int(input("enter your age: ")) total_months=12 total_weeks=52 total_days=365 completed_months=age*12 completed_weeks=age*52 completed_days=age*365 a=total_months-completed_months b=total_weeks-completed_weeks c=total_days-completed_days print(f" you have {c} days {b} weeks and {a} months you seen the earth ")
age = int(input("what is your age? ")) final_age = 90 - age a = 365 * final_age b = 52 * final_age c = 12 * final_age print(f"you have {a} days,{b} weeks,{c} months")
It was a wonderful example to implement f string skills as well as thinking out of the box. Mam if you can take more sessions on Python tricky questions , it would be grateful
Please explain : "I guess output is comming wrong", If Age is 85 only 5 years should be left not (1825 days , 260 weeks and 60 month) This means person get the output that he/she left with 1825 days + 260 weeks and 60 months total goes to 15 year I guess.
age=int(input("enter the age")) remain=90-age k=71 days=365 weeks=52 months=12 print(f"my age is {remain}. i will leave upto {days*k}. i have {weeks*k}to live.i have {months*k} months to leave.left")
age = input("Enter your age") age_before90 = 90 - int(age) print(f" You will survive for {age_before90} years") print(f" You have {age_before90*365} days , {age_before90*52} weeks, {age_before90*12} days left")
life = 90 age = int(input(" what is your age? ")) life = life-age days = life*365 weeks = life*52 months = life*12 print(f"you have {days} days, {months} of months & {weeks} of weeks")
x=int(input("enter your current age")) a=90-x p=a*365 q=a*52 r=a*12 print("if you live for 90 yrs than you will be having",a,"years",p,"days",q,"weeks and ",r, " months left to live !!")
age=int(input("Enter your current age: ")) final_age= 90-age a=365*final_age b=52*final_age c=12*final_age print(f"You have {a} years, {b} weeks and {c} months left")
age=int(input("my current age is : ")) a=(90-age)*365 b=(90-age)*52 c=(90-age)*12 print(f"you have {a} days , {b} weeks and {c} months left.") without looking ans i did this....
(input("Enter your name: ")) age=int(input("Enter your current age: ")) n=90-age a=n*365 b=n*52 c=n*12 print(f"You have {a} days, {b} weeks and {c} months left")
name=input("enter your name:") age=input("enter your present age") r=90-int(age) a=int(r)*365 b=int(r)*52 c=int(r) print(f"u have days:{a} weeks:{b} years
age=int(input('Enter your age: ')) years = 90 - age days = years * 365 months = years * 12 weeks = years * 52 print(f'You have {days} days, {weeks} weeks, {months} months and {years} years left')
current_age = int(input("Enter your current age: ")) years_left = 90 - current_age months_left = years_left * 12 weeks_left = years_left * 52 days_left = years_left * 365 print(f"You have {years_left} years, {months_left} months ,{weeks_left} weeks and {days_left} days left") i am currenty 19 still got 71 years to live this amazing life.😙
age = input("my age is: ") years = 90 - int(age) months = round(years*12) weeks = round(years*52) days = round(years*365) print(f"I have {days} days, {weeks} weeks, {months} months, {years} years left")
age=int(input("Enter your age:")) Days=(90-age)*365 week=(90-age)*52 month=(90-age)*12 year=90-age print(f"You have {Days} days, {week} weeks, {month} months and {year} years left")
age= input('enter current age: ') years_left = 90 - int(age) days_left= years_left*365 weeks_left=years_left*52 months_left=years_left*12 print(f"There are {days_left} days, {weeks_left} weeks and {months_left} months left to live until 90 years.")
age = int(input("Please enter your current age :")) # 1year = 365 days # 1year = 52 weeks # 1year = 12 months print(f"You have {(90-age)*365} days,{(90-age)*52} weeks and {(90-age)*12} months left ")
age=int(input("Enter your current age: ")) days=90*365 weeks=90*52 months=90*12 days_left=days-age*365 weeks_left=weeks-age*52 months_left=months-age*12 print(f"You have {days_left} days,{weeks_left} weeks and {months_left} months left")
age=int(input("enter the current age:")) year_live=90-age one_year=year_live*365 weeks=year_live*52 moths=year_live*12 print("my year of live",year_live,"one_year",one_year,"and weeks",weeks,"moths",moths,"is live")
age=input("Input your age : ") #1 year=365 days, 1year=52 weeks, 1 year=12 months years=90-int(age) print(f"You live \"{years*365}\"days You live \"{years*52}\" weeks You live \"{years*12}\" months")
age=int(input("Enter your current age : ")) remain=(90-age) years=remain months=remain*12 weeks=remain*52 days=remain*365 print(f"you have {years} years remain you have {months} months remain you have {weeks} weeks remain you have {days} days remain")
#wap to find out how many days, week and month left if we live until 90 years Age = int(input("enter your currenet age")) print(f"You have {(90-Age)*365},{(90-Age)*52},and{(90-Age)*12}")
age = int(input("enter the age first :")) R_D = 90*365 - age * 365 R_W = 90* 52 - age*52 R_M = 90*12 - age*12 print(f"you have {R_D} days , {R_W} weeks , {R_M} months left ") ANOTHER WAY OF SLOVING
name=input("enter your name:") current_age=int(input("enter your current age:")) years_left=(90-(current_age)) months_left=(f"{years_left*12}") weeks_left=(f"{years_left*52}") days_left=(f"{years_left*365}") print(f"Dear {name},you have {days_left} days , {weeks_left} weeks and {months_left} months left.")
print("How many dayes,weeks,months we have left when we wil left 90 years left") print("let's calculate:") name=input("What is your name :") print("Hello " + name) age_1=input("TYPE YOUR AGE in years :") #years age_2=input("TYPE YOUR AGE in months :") #months age_3=input("TYPE YOUR AGE in weeks :") #weeks age_4=input("TYPE YOUR AGE in days") #days a=90*365 #days b=90*52 #weeks c=12*90 #months X=int(a) - (int(age_4)) #days Y= int(b) - int(age_2) #months Z=int(c) - int(age_3) #weeks print(f"You have {X} days, {Y} months and {Z} weeks left") print("congratulations")
age = int(input("Enter the current age : ")) print(f"Your Current age is : {age} You Have {(365*90)-(age*365)} days left. You have {(90*52)-(age*52)} weeks left. You have {(90*12)-(age*12)}. ")
age = int(input("Enter your age : ")) left_year = 90 - age left_days = left_year * 365 left_weeks = left_year * 52 left_months = left_year * 12 print(f"You are left with {left_year} years or {left_days} days or {left_weeks} weeks or {left_months} months") age2 = int(input("Enter your age : ")) left_year = 90 - age2 print(f"You are left with {left_year} years or {left_year*365} days or {left_year*52} weeks or {left_year*12} months")
current_age=int(input("enter your current age: ")) days_year_1=365 month_in_year=12 weeks_in_year=52 a=90-current_age print(f"remaining days are {a*days_year_1}, remaining months are {a*month_in_year} and remaining weeks are {a*weeks_in_year}")
print("I'm here to calculate time left to meet 72 hoor if you got only 90 years of life in this harami world") x= int(input("Enter your age:")) y =90-x print(f"No. of days left to meet 72 hoor {365*y} days") print(f"No. of weeks left to meet 72 hoor {52*y} weeks") print(f"No. of month left to meet 72 hoor {12*y} months") print(f"No. of years left to meet 72 hoor {90-x} years")
we can also write this simply like this:
current_age= int(input("Enter your current age:"))
age= 90-current_age
print(f"you have {age*365} days,{age*52} weeks, and {age*12} months left to live")
Awesome bro 🔥
Literally amazing , the way u telling is super mam.. ❤.. Basically i am mechanical background i don't noo about the programing Laungauge (python.once i watching u r videos daily 2 hrs. I completely learn python with in one month... U r hard work makes sooo many students bright future.. 😊💝... Keep u r journey... 👍✨
Here's an easier way which I figured out.
a=int(input("Enter your age: "))
b=int(input("Enter life expectancy: "))
print(f"You have {b*365 - a*365} days left, {b*52 - a*52} weeks left and {b*12 - a*12} months left.")
Thank you mam this was a wonderful exercise
age=input("enter your current age: ")
d = 90 - int(age)
a = d * 365
b = a /7
c = a /30
print(f"You have {a} day's, {b} week's and {c} month's left")
Logically yes but sometimes values would be in float.
easy way :
age = int(input(("enter your age: ")))
target = 90 - age
print(f"you have {target*365} days, {target * 52} weeks, {target * 12} months ")
age=int(input("enter your age: "))
total_months=12
total_weeks=52
total_days=365
completed_months=age*12
completed_weeks=age*52
completed_days=age*365
a=total_months-completed_months
b=total_weeks-completed_weeks
c=total_days-completed_days
print(f" you have {c} days {b} weeks and {a} months you seen the earth ")
maam leap year will be there no?
age = int(input("what is your age? "))
final_age = 90 - age
a = 365 * final_age
b = 52 * final_age
c = 12 * final_age
print(f"you have {a} days,{b} weeks,{c} months")
Ma'am you are mixture of beauty 😍and intelligence 🌈💕✨
It was a wonderful example to implement f string skills as well as thinking out of the box. Mam if you can take more sessions on Python tricky questions , it would be grateful
Please explain : "I guess output is comming wrong", If Age is 85 only 5 years should be left not (1825 days , 260 weeks and 60 month) This means person get the output that he/she left with 1825 days + 260 weeks and 60 months total goes to 15 year I guess.
Yes, I agree. totally wrong
No it would not be 15 years it would be 5 years just calculate the age again
1year =365days then 5years =5*365=1825 days
yeah,me too having the similar doubt.
All the best for you.
but we should consider leap year also
age=int(input("enter the age"))
remain=90-age
k=71
days=365
weeks=52
months=12
print(f"my age is {remain}. i will leave upto {days*k}. i have {weeks*k}to live.i have {months*k} months to leave.left")
Mam please continue c++ course too if possible
age = input("Enter your age")
age_before90 = 90 - int(age)
print(f" You will survive for {age_before90} years")
print(f" You have {age_before90*365} days , {age_before90*52} weeks, {age_before90*12} days left")
life = 90
age = int(input(" what is your age? "))
life = life-age
days = life*365
weeks = life*52
months = life*12
print(f"you have {days} days, {months} of months & {weeks} of weeks")
Awesome ❤
age=input("enter your age:")
d=90-int(age)
a=d*365
b=d*52
c=d*12
print(f"you have {a} days,{b} weeks and {c} months left")
Mam your voice is very attractive and different
age = int(input('enter your age:'))
year = 90 - age
a = year*365
b = year*52
c = year*12
print(f'you have {a} days, {b} weeks, {c} months')
ma'am if i want to find my actual age from my birth year ? how can we calculate it from the birth year?
current year-birth year
birth_year=int(input("birth_year:"))
current_year=int(input("current_year:"))
print(current_year-birth_year)
x=int(input("enter your current age"))
a=90-x
p=a*365
q=a*52
r=a*12
print("if you live for 90 yrs than you will be having",a,"years",p,"days",q,"weeks and ",r, " months left to live !!")
age=int(input("Enter your current age: "))
final_age= 90-age
a=365*final_age
b=52*final_age
c=12*final_age
print(f"You have {a} years, {b} weeks and {c} months left")
age=int(input("my current age is : "))
a=(90-age)*365
b=(90-age)*52
c=(90-age)*12
print(f"you have {a} days , {b} weeks and {c} months left.")
without looking ans i did this....
Thank you
age=int(input('enter your age:
'))
k=90-age
print(f"you have {k*365) days ,{k*52} weeks , {k*12} months left")
age =int(input("enter your current age
"))
print(f"you have {90*365-age*365} days {90*52-age*52} weeks and {90*12-age*12} months left")
Thank you mam ❤️❤️
Thank you so much mam for giving your busy time for teaching python,it helps me lot.
Thank you madam
(input("Enter your name: "))
age=int(input("Enter your current age: "))
n=90-age
a=n*365
b=n*52
c=n*12
print(f"You have {a} days, {b} weeks and {c} months left")
Super 🎉🎉🎉
name=input("enter your name:")
age=input("enter your present age")
r=90-int(age)
a=int(r)*365
b=int(r)*52
c=int(r)
print(f"u have days:{a}
weeks:{b}
years
age=int(input('Enter your age: '))
years = 90 - age
days = years * 365
months = years * 12
weeks = years * 52
print(f'You have {days} days, {weeks} weeks, {months} months and {years} years left')
current_age = int(input("Enter your current age: "))
years_left = 90 - current_age
months_left = years_left * 12
weeks_left = years_left * 52
days_left = years_left * 365
print(f"You have {years_left} years, {months_left} months ,{weeks_left} weeks and {days_left} days left")
i am currenty 19 still got 71 years to live this amazing life.😙
First view
age = input("my age is: ")
years = 90 - int(age)
months = round(years*12)
weeks = round(years*52)
days = round(years*365)
print(f"I have {days} days, {weeks} weeks, {months} months, {years} years left")
i confuse why 90 in this program ,which purpose
please tell anyone
At last you didn't executed years_left, It is showing error
Mam I am from Science background but I want to learn about computer knowledge so How can I start mam
age=int(input("Enter your age:"))
Days=(90-age)*365
week=(90-age)*52
month=(90-age)*12
year=90-age
print(f"You have {Days} days, {week} weeks, {month} months and {year} years left")
age= input('enter current age: ')
years_left = 90 - int(age)
days_left= years_left*365
weeks_left=years_left*52
months_left=years_left*12
print(f"There are {days_left} days, {weeks_left} weeks and {months_left} months left to live until 90 years.")
At last you didn't executed, years_left, it is showing error
lots of ❤️❤️❤️❤️
🙏
Mam how to install compilers for all programs to compile
You can run online or download from official web site
entered_age=int(input("Enter your age: "))
age_in_days= entered_age * 360
age_in_weeks= entered_age * 52
age_in_months= entered_age * 12
until_days=(90*365) - age_in_days
until_weeks=(52*90) - age_in_weeks
until_months=(12* 90) - age_in_months
print(f"You have {until_days} days, {until_weeks} weeks, {until_months} months left")
age = int(input("Please enter your current age :"))
# 1year = 365 days
# 1year = 52 weeks
# 1year = 12 months
print(f"You have {(90-age)*365} days,{(90-age)*52} weeks and {(90-age)*12} months left ")
Mam you are looking so beautiful in this lecture ♥️♥️
age=int(input("Enter your current age: "))
days=90*365
weeks=90*52
months=90*12
days_left=days-age*365
weeks_left=weeks-age*52
months_left=months-age*12
print(f"You have {days_left} days,{weeks_left} weeks and {months_left} months left")
10q very much mam
age=int(input("enter the current age:"))
year_live=90-age
one_year=year_live*365
weeks=year_live*52
moths=year_live*12
print("my year of live",year_live,"one_year",one_year,"and weeks",weeks,"moths",moths,"is live")
age=input("Input your age : ") #1 year=365 days, 1year=52 weeks, 1 year=12 months
years=90-int(age)
print(f"You live \"{years*365}\"days
You live \"{years*52}\" weeks
You live \"{years*12}\" months")
current_age = input("Enter your current age: ")
total_years_left = 90 - int(current_age)
total_months_left = total_years_left * 12
total_weeks_left = total_years_left * 52
total_days_left = total_years_left * 365
Print(f"Total {total_years_left} years, {total_months_left} months, {total_weels_left} weeks, and {total_days_left} days left in your age.")
age=int(input("Enter your current age : "))
remain=(90-age)
years=remain
months=remain*12
weeks=remain*52
days=remain*365
print(f"you have {years} years remain
you have {months} months remain
you have {weeks} weeks remain
you have {days} days remain")
mam i am not able solve this question i understand question not able to apply logic
Aap bahut pyari lag rhi ho mam😊😊
Mam why you don't upload c++ videos
age = int (input ("Enter your current age:"))
n=90-age
a=n*365
b=n*52
c=n*12
print (f"you have {a} days,{b} weeks and {c} months left")
#wap to find out how many days, week and month left if we live until 90 years
Age = int(input("enter your currenet age"))
print(f"You have {(90-Age)*365},{(90-Age)*52},and{(90-Age)*12}")
Thanks you so much 💓💓
age = int(input("enter the age first :"))
R_D = 90*365 - age * 365
R_W = 90* 52 - age*52
R_M = 90*12 - age*12
print(f"you have {R_D} days , {R_W} weeks , {R_M} months left ")
ANOTHER WAY OF SLOVING
name=input("enter your name:")
current_age=int(input("enter your current age:"))
years_left=(90-(current_age))
months_left=(f"{years_left*12}")
weeks_left=(f"{years_left*52}")
days_left=(f"{years_left*365}")
print(f"Dear {name},you have {days_left} days , {weeks_left} weeks and {months_left} months left.")
print("How many dayes,weeks,months we have left when we wil left 90 years left")
print("let's calculate:")
name=input("What is your name :")
print("Hello " + name)
age_1=input("TYPE YOUR AGE in years :") #years
age_2=input("TYPE YOUR AGE in months :") #months
age_3=input("TYPE YOUR AGE in weeks :") #weeks
age_4=input("TYPE YOUR AGE in days") #days
a=90*365 #days
b=90*52 #weeks
c=12*90 #months
X=int(a) - (int(age_4)) #days
Y= int(b) - int(age_2) #months
Z=int(c) - int(age_3) #weeks
print(f"You have {X} days, {Y} months and {Z} weeks left")
print("congratulations")
age = int(input("Enter the current age : "))
print(f"Your Current age is : {age} You Have {(365*90)-(age*365)} days left. You have {(90*52)-(age*52)} weeks left. You have {(90*12)-(age*12)}. ")
Madam sir madam anthe ❤️
I LOVE U MADAM ❤️❤️❤️
Aslan ablammmmm
age = int(input("Enter your age : "))
left_year = 90 - age
left_days = left_year * 365
left_weeks = left_year * 52
left_months = left_year * 12
print(f"You are left with {left_year} years or {left_days} days or {left_weeks} weeks or {left_months} months")
age2 = int(input("Enter your age : "))
left_year = 90 - age2
print(f"You are left with {left_year} years or {left_year*365} days or {left_year*52} weeks or {left_year*12} months")
I don't know why your code is genarating error😢😢
Hii mam
age=int(input("Enter your current age:"))
total_months=90*12
total_weeks=90*52
total_days=90*365
months_comepleted=age*12
weeks_completed=age*52
days_completed=age*365
a=total_months-months_comepleted
b=total_weeks-weeks_completed
c=total_days-days_completed
print(f"{c}days,{b}weeks and {a}months left")
limit_age = 90
current_age = int(input("Enter your current age : "))
# **** 1year = 365 days
# ****** 1year = 52 weeks
# **********1 year = 12 months
left_days = (limit_age*365) - ((current_age)*365)
# print(left_days)
left_weeks = (limit_age*52) - ((current_age)*52)
# print(left_weeks)
left_months = (limit_age*12) - ((current_age)*12)
# print(left_months)
left_years = (limit_age) - ((current_age))
# print(left_years)
print(f"Days left = {left_days}
Weeks left = {left_weeks}
Months left = {left_months}
Years left = {left_years}")
current_age=int(input("enter your current age: "))
days_year_1=365
month_in_year=12
weeks_in_year=52
a=90-current_age
print(f"remaining days are {a*days_year_1}, remaining months are {a*month_in_year} and remaining weeks are {a*weeks_in_year}")
You are very beautiful mam
pls reply jenny
Mam plzzz provide mcq of paython 🙌🙌🙌🙌🙌🙌🙌🙌🙌🙌
Nice mam do more videos??
Subject vinadaniki kakunda Naalaaga Yavaru vacharu Ayya 😁😂
OLD_AGE = 90
age = int(input("Enter your current age: "))
days_left = 365 * (OLD_AGE - age)
weeks_left = days_left // 7
months_left = 12 * (OLD_AGE - age)
print(f"You have {days_left} days, {weeks_left} weeks and {months_left} months left.")
print("I'm here to calculate time left to meet 72 hoor if you got only 90 years of life in this harami world")
x= int(input("Enter your age:"))
y =90-x
print(f"No. of days left to meet 72 hoor {365*y} days")
print(f"No. of weeks left to meet 72 hoor {52*y} weeks")
print(f"No. of month left to meet 72 hoor {12*y} months")
print(f"No. of years left to meet 72 hoor {90-x} years")
Hii mam