O GoConqr está de visual novo! Conte para nós o que você achou.

Mapa mental

Assignment 1 questions

Austin Kuyrkendall Inglês

Conteúdo do mapa

Assignment 1 questions

  1. Q2: Random is a python module, the period is used to signify we are calling a function from the "random" module.

  2. Q1: The random.randint(_,_) function takes two integers as parameters and returns a random number between the two of them.

  3. Q3: The print() function prints the information within the parenthesis to the screen.

  4. Q4: The "+" operator concatonates the information inside the parenthesis so that it all prints together.

  5. Q5: The str() function converts numbers into strings.

  6. Q6: The "largest" variable is local to the getLargestRandom() function.

  7. Q7: None is used to describe a null value. It is similar to 0 or "empty string" depending on the variable's datatype

  8. Q8: "inputValue" is a parameter for the "countGreaterEqualNumbers()" fucntion. It is needed as the comparison value for this function.

  9. Q9: "return" returns the the return value back to the process that called the function.

  10. Q10: Declaring a function only alerts the compiler of its existence within the program. Defining a function outlines what the function will do. Calling a function will cause the function to execute, carrying out whatever it is meant to do.

  11. Q11: "message" is built by concatonating the strings that contain information gathered by calling the numerous functions in the program.

Informações

Descrição
Mapa Mental sobre Assignment 1 questions, criado por Austin Kuyrkendall em 24-01-2021.
Criado por
Austin Kuyrkendall · jan 2021
Atualizado
25 jan 2021
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?