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

Mindmap

Enter text here

Austin Ross Englisch

Inhalt der Mindmap

Enter text here

  1. A: It returns a number within, and including, the upper and lower limits.

    • Q2: What is "random" and what is the purpose of using the period (.) before randint?
      • A: Random is a module, and randint is a method. The period separates the two.
        • Q3: What does the function print(_) do in the next line of code?
          • A: The print function displays the contents of the parenthesis in the terminal, including the values of the strings.
            • Q4: What is the purpose of the (+) operator in the next line of code?
              • A: The (+) serves to concatenate strings. This will all be printed on the same line.
                • Q5: What is the purpose of the function str(_) in the next line of code?
                  • A: The string function retrieves the value of a variable, in this case, random numbers.
                    • Q6: Is the variable (largest) global or local? Why?

Informationen

Beschreibung
Mindmap am Enter text here, erstellt von Austin Ross am 24/01/2021.
Erstellt von
Austin Ross
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck