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

Mindmap

1) The function "random.randint(_,_)" makes and returns a random number in between the given range

Conner Goddu Englisch

Inhalt der Mindmap

1) The function "random.randint(_,_)" makes and returns a random number in between the given range

  1. 2) "random" is a built-in module called that can be used to make random numbers. The period separates the module "random" from the method "randint".

    • 3) The function "print(_)" outputs anything inside in the parenthesis out to the terminal
      • 4) Within the "print()" function, the "+" operator separates lines of text from functions
        • 5) The "str(_)" function converts a variable of another data type into a string, in this case from integer to string, for the purpose of output with other string.
          • 6) The variable "largest" is local, because it is declared within the function and can only be used within the function.
            • 7) "None" means there is no value assigned. It's different than 0. It means this variable is currently holding nothing
              • 8) "inputValue" is a variable that takes in user input and the variable becomes whatever value is entered
                • 9) "return" returns something back to the main function, as a result of the current function being called. It is what is returned at the end of a function
                  • 10) Declaring a function is it's first instance of it. It is declared and created in the programming space. Defining a function is writing more code beneath it's function declaration and defining what the function does when called. Calling is when the function name is entered outside of the function scope.
                    • 11) The variable "message" began as a small string of text, with a newline function at the end, and continued getting additional strings with the same newline feature, becoming multiple lines of text

Informationen

Beschreibung
Mindmap am 1) The function "random.randint(_,_)" makes and returns a random number in between the given range, erstellt von Conner Goddu am 17/11/2021.
Erstellt von
Conner Goddu
Aufrufe
0
Bewertung

Mehr zu Python Modules and Packages

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck