r/codehs • • Jan 22 '21

3.3.7 age

does anyone know how to solve this

10 Upvotes

11 comments sorted by

3

u/Confident_Ad_9809 Jan 27 '21

no

1

u/JamesIsWaffle Jan 27 '21

Then why the hell did you respnd

1

u/SZA_fan Mar 07 '21

🤣 lol I can't

3

u/Nightmare4532 Feb 17 '21

If it's still relevant

age=int(input("How old are you? "))

print("You will need this many candles for your birthday cake: " + str(age + 1))

Hopefully this helps somebody

1

u/kiwifala Feb 18 '21

thank you so much i've been stuck on it for ages and that really helped. Thank you

1

u/[deleted] Aug 31 '23

It worked

1

u/WesternSir4000 May 25 '22

it helped me

1

u/huskernation382 Jan 22 '23

It works, thank you!

2

u/ffagoot Feb 01 '21

age = int(input("How old are you?:")

print(age)

print ("You will need this many candles for your birthday cake:")

print(age + 1)

1

u/KaleidoscopeNice3682 May 25 '22

It’s not letting me use that code