Built-In Functions
Built-In Functions
a,b=2,3
6 pow() pow(a,b) returns a power b print(pow(a,b))=>8
returns binary string x=3
7 bin() bin(i) prefixed with 0b print(bin(x))=>'0b11'
returns the identify of x=3
8 id() id(object) an object print(id(x))=>address of x
returns the type of x=3
9 type() type(object) object print(id(x))=>address of x
Chapter 7 12
Chapter 8 14
Chapter 9 8
34