Built-in function (brief) Flashcards

1
Q

abs()

A

Returns the absolute value of a number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

all()

A

Returns True if all items in an iterable object are true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

any()

A

Returns True if any item in an iterable object is true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

ascii()

A

Returns a readable version of an object. Replaces none-ascii characters with escape character

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

bin()

A

Returns the binary version of a number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly