GoConqr has a new look! Let us know what you think.

Mind map

Enter text here

Austin Ross English

Map content

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?

Information

Description
Mind Map on Enter text here, created by Austin Ross on 24/01/2021.
Created by
Austin Ross
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?