Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



#python #sicp

The values we have used so far are instances of a small number of native data types that are built into the Python language. Native data types have the following properties:

  1. There are expressions that evaluate to values of native types, called literals.
  2. There are built-in functions and operators to manipulate values of native types.

The int class is the native data type used to represent integers. Integer literals (sequences of adjacent numerals) evaluate to int values, and mathematical operators manipulate these values.

If you want to change selection, open document below and click on "Move attachment"

2.1 Introduction
instances of the int class. These two values can be treated similarly. For example, they can both be negated or added to another integer. The built-in type function allows us to inspect the class of any value. >>> type(2) <span>The values we have used so far are instances of a small number of native data types that are built into the Python language. Native data types have the following properties: There are expressions that evaluate to values of native types, called literals. There are built-in functions and operators to manipulate values of native types. The int class is the native data type used to represent integers. Integer literals (sequences of adjacent numerals) evaluate to int values, and mathematical operators manipulate these values. >>> 12 + 3000000000000000000000000 3000000000000000000000012 Python includes three native numeric types: integers ( int ), real numbers ( float ), and complex numbers ( c


Summary

statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Details



Discussion

Do you want to join discussion? Click here to log in or create user.