Numbers in Python
Numbers in Python work like numbers you've seen elsewhere; you can apply all the things you've learned about basic math to Python.
To show you what I mean, type a few more numbers into the console below, pressing return after each one:
To show you what I mean, type a few more numbers into the console below, pressing return after each one:
No Commas
There's no commas in the numbers above, even when they're greater than 1,000. That's because commas don't mean place value in Python; they create tuples, which we'll discuss later. For now: just leave commas out of your numbers.
Numbers with Decimals
Decimal points, though, are a-okay: