Mapa mental
firstAssignment.py
Conteúdo do mapa
firstAssignment.py
Q1
- random.randint is a function that utilizes the two bounds to pull a random integer from within the two bounds given as input
Q2
- random is the part of the function that generates the random number and randint specifies its an integer
Q3
- This function prints the string of random numbers genratores
Q4
- The + operator serves to concatenate the multiple numbers and display them one after another
Q5
- The str function outputs the numbers as strings instead of numbers so they are not added together
Q6
- Variable is local because it is defined within the function
Q7
- None means no defined value or null
Q8
- inputValue is the input required for the function- because the function is comparing numbers- it requires an input value to compare numbers within the function to
Q9
- return is used to exit the function - here it says return none... this exits the function and retirns a null value
Q10
- Declaring : creates the function Defining: determines what the the function does as well as what is contained within the function Calling: causes the function to run and execute
Q11
- the variable message was built by using multiple functions or calling different functions to create the message string by string
Informações
- Descrição
- Mapa Mental sobre firstAssignment.py, criado por Natalie Evelev em 14-01-2021.
- Criado por
- Natalie Evelev
- Visualizações
- 0
- Avaliação