How much bytes do integer and decimal data types hold in python?



How much bytes do integer and decimal data types hold in python?..

Answer / Jatin Girdhar

Integers in Python do not consume any memory beyond the value they represent. However, floating point numbers (decimal) have a fixed size of 8 bytes (64-bit) for single precision floats.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

Explain whats flask?

1 Answers  


What is python shell and idle?

1 Answers  


Does python has private keyword in python ? How to make any variable private in python ?

1 Answers  


Is tuple iterable in python?

1 Answers  


What is the difference between pickling vs unpickling?

1 Answers  


What are its benefits of flask?

1 Answers  


What is a python mixin?

1 Answers  


“In Python, functions are first-class objects.” What do you infer from this?

2 Answers  


How can we get home directory using '~' in python?

1 Answers  


Explain the role of repr function.

1 Answers  


How can you unsign or delete variable in python?

1 Answers  


Should I learn r or python first?

1 Answers  


Categories