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

Mapa mental

firstAssignment.py

Natalie Evelev Inglés

Contenido del mapa

firstAssignment.py

  1. Q1

    • random.randint is a function that utilizes the two bounds to pull a random integer from within the two bounds given as input
  2. Q2

    • random is the part of the function that generates the random number and randint specifies its an integer
  3. Q3

    • This function prints the string of random numbers genratores
  4. Q4

    • The + operator serves to concatenate the multiple numbers and display them one after another
  5. Q5

    • The str function outputs the numbers as strings instead of numbers so they are not added together
  6. Q6

    • Variable is local because it is defined within the function
  7. Q7

    • None means no defined value or null
  8. 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
  9. Q9

    • return is used to exit the function - here it says return none... this exits the function and retirns a null value
  10. 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
  11. Q11

    • the variable message was built by using multiple functions or calling different functions to create the message string by string

Información

Descripción
Mapa Mental sobre firstAssignment.py, creado por Natalie Evelev el 14/01/2021.
Creado por
Natalie Evelev
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?