GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

Assignment 1

Tiffany Conklin Englisch

Inhalt der Mindmap

Assignment 1

  1. #1 random.randint(,)

    • produces random integer within the specified range
  2. #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. #3 print() function do in next line of code?

    • displays the message inside the print function
  4. #4 (+) operator in the next line of code?

    • concatenates the strings
  5. #5 purpose of the function str()

    • converts the integer into a string
  6. #6 is (largest) global or local?

    • local because it is specified inside the function
  7. #7 what does None mean?

    • a null value
  8. #8 what is inputValue?

    • specifies that the user has to input a value
  9. #9 what does return do?

    • ends the function and returns the value
  10. #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

Informationen

Beschreibung
Mindmap am Assignment 1, erstellt von Tiffany Conklin am 15/01/2021.
Erstellt von
Tiffany Conklin · Jan 2021
Aktualisiert
15 Jan 2021
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck