Section 1

Preview this deck

range()

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (19)

Section 1

(19 cards)

range()

Front

return sequence of integers between start and stop

Back

next()

Front

returns the next item in an iterator.

Back

sorted()

Front

returns a sorted list of the specified iterable object.

Back

enumerate()

Front

Returns an Enumerate Object

Back

filter()

Front

returns an iterator were the items are filtered through a function to test if the item is accepted or not.

Back

property()

Front

returns a property attribute

Back

map()

Front

executes a specified function for each item in a iterable. The item is sent to the function as a parameter.

Back

round()

Front

rounds a floating point number to ndigits places.

Back

max()

Front

returns largest element

Back

min()

Front

returns smallest element

Back

iterable

Front

An iterable object (list, tuple, dictionary)

Back

all()

Front

returns True if all items in an iterable are true, otherwise it returns False.

Back

set()

Front

creates a set object.

Back

any()

Front

returns True if any item in an iterable are true, otherwise it returns False.

Back

eval()

Front

Runs Python Code Within Program

Back

iter()

Front

returns iterator for an object

Back

dir()

Front

returns all properties and methods of the specified object, without the values.

Back

slice()

Front

creates a slice object specified by range()

Back

list()

Front

creates list in Python

Back