Mapa mental
Assignment 1
Contenido del mapa
Assignment 1
#1 random.randint(,)
- produces random integer within the specified range
#2 What is random and what is the purpose of the period before randint?
- random is a module
- The period is a dot operator and links the randint function to the random module
#3 print() function do in next line of code?
- displays the message inside the print function
#4 (+) operator in the next line of code?
- concatenates the strings
#5 purpose of the function str()
- converts the integer into a string
#6 is (largest) global or local?
- local because it is specified inside the function
#7 what does None mean?
- a null value
#8 what is inputValue?
- specifies that the user has to input a value
#9 what does return do?
- ends the function and returns the value
#10 difference between declaring, defining, and calling a function
- declaring: stating the data type and its name
- defining: the value of the variable
- calling a function:
- using the function and inputting an argument
Información
- Descripción
- Mapa Mental sobre Assignment 1, creado por Tiffany Conklin el 15/01/2021.
- Creado por
- Tiffany Conklin · ene 2021
- Actualizado
- 15 ene 2021
- Visitas
- 0
- Valoración