FAQ: Learn Python: Syntax - Numbers

This community-built FAQ covers the “Numbers” exercise from the lesson “Learn Python: Syntax”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Computer Science
Data Science

FAQs on the exercise Numbers

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

2 posts were split to a new topic: Why don’t I need paranthesis are around numbers?

2 posts were split to a new topic: Why don’t I need to define my variable as a float or integer?

6 posts were split to a new topic: I’m stuck on the numbers exercise?

2 posts were split to a new topic: Shouldn’t runtime be a float instead of an integer?

3 posts were split to a new topic: Can I have the solution?

Why do you need to define release_year?
If i just type “release_year_int = 2012”. This should be enough to know the number 2012 is about the release year. I could say like “print(release_year_int)” and the message would show “2012”.
What am I missing, why make it so extensive by writing another line?

1 Like