Help with Integers

Question:

yo so basically i was doing some coding i’m a beginner but i was assigning age1 as an integer, i wrote age1= 70 but when i did print(age1) it keeps giving me an error, any help?
Repl link:

code snippet

Hey, @AdityaD11 welcome to the forums!

Can you please provide a link to the repl? This way it is easier for staff and members of the community to help you!

Also see this guide on how to share your code:

4 Likes

This shouldn’t be happening. I looked through your Repls and I couldn’t find one that said ‘age1’, but I found another variable that did have a number in the name, and it seems to have printed just fine. What type of error are you seeing?

1 Like