The built-in [...] function allows us to inspect the class of any
value
Answer
type
Tags
#python #sicp
Question
The built-in [...] function allows us to inspect the class of any
value
Answer
?
Tags
#python #sicp
Question
The built-in [...] function allows us to inspect the class of any
value
Answer
type
If you want to change selection, open original toplevel document below and click on "Move attachment"
Parent (intermediate) annotation
Open it The built-in type function allows us to inspect the class of any
value
Original toplevel document
2.1 Introduction e it is.
Values that share a class also share behavior. For example, the integers
1 and 2 are both instances of the int class. These two values can
be treated similarly. For example, they can both be negated or added to another
integer. <span>The built-in type function allows us to inspect the class of any
value.
>>> type(2)
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
foll
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.