Font size
WorksheetsPython
Total questions: 8
Worksheet time: 5mins
The basic unit of code reusability in Python. A block of code imported by some other code.
moodle
module
mode
model
Reduce The ________(fun,seq) function is used to apply a particular function passed in its argument to all of the list elements mentioned in the sequence passed along.This function is defined in “functools” module
Sequence
Rename
Reduce
Random()
It can be used when a statement is required syntactically but the program requires no action. An empty code block
pass
dictionary
tuple
elif
What is a range?
It's a set of elements grouping
They're collections of unique but unirdered items
It's an instruction to create a Tupla
It's a function that returns a list of integers
A style guide widely adopted by the Python community.
library
PEP 8
glosary
code runner
It is similar a function, but it runs on a object.
method
object oriented
mode
runObject()
Which of the follow options can be asociated with Objects (Chose every correct options)
Volume
Attributes
Size
Methods
A unit code lines that can be reused or imported
Print()
Funtion
Import
Module
