¡GoConqr estrena diseño! Cuéntanos qué te parece.

Mapa mental

Assignment 1 questions

Austin Kuyrkendall Inglés

Contenido del 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.

Información

Descripción
Mapa Mental sobre Assignment 1 questions, creado por Austin Kuyrkendall el 24/01/2021.
Creado por
Austin Kuyrkendall · ene 2021
Actualizado
25 ene 2021
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?