[Python] order of data types from greatest to least precision in python?

Discussão em 'Python' iniciado por Stack, Janeiro 22, 2025.

  1. Stack

    Stack Membro Participativo

    according to my professor, its boolean, unsigned integer, integer, float, complex, string, and object.

    but why? how is a float less precise than an integer (for example)? Is it to do with the operations that ca be performed on a given item (ie the ore specific the things that can be performed, the most 'precise' the type is?) I really have nothing more to add since i have really no idea, so any hints appreciated!

    Continue reading...

Compartilhe esta Página