snehal patel

snehal patel

1 Articles Published

Articles by snehal patel

1 articles

Why are numbers represented as objects in python?

snehal patel
snehal patel
Updated on 30-Jul-2019 553 Views

Everything in Python is an object, and that includes the numbers. There are no "primitive" types, only built-in types.Numbers, however, are immutable. When you perform an operation with a number, you are creating a new number object.

Read More
Showing 1–1 of 1 articles
« Prev 1 Next »
Advertisements