print("How old are you")
c = input()
d = 1
The question is – how to add d + c together
Or how to add 1 + c together
I’m only a beginner and I’ve been at this for hours it’s really confusing
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you mean c to be an input number ,then convert it to integer using
int(c)So you have
d + int(c)