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

Mindmap

Assignment 1

Nick Kapsos Englisch

Inhalt der Mindmap

Assignment 1

  1. Random

    • Q1
      • random.randint(a,b) returns a random integer between a and b inclusive
    • Q2
      • "Random" is a module that was imported at the beginning. The purpose of the "." is to show that you want to use the method "randint" that is a part of the "random" module
  2. Print and Strings

    • Q3
      • The print( ) function prints out its input.
    • Q4
      • The + concatenates the strings together to form a continuous string
    • Q5
      • The str( ) function takes in an int as an input and outputs a string that has the same number.
    • Q11
      • The variable message was built by concatenating other strings and function outputs to itself multiple times
  3. Variables

    • Q6
      • The variable is local, as it is declared in a function defnition
    • Q7
      • "None" is a way of assigning a null or default value to a variable, no matter the data type it will eventually be
  4. Functions

    • Q8
      • inputValue is the parameter of the function. It is important because it provides what value to compare to.
    • Q9
      • "return" breaks out of the function and returns whatever is after it as the function's output
    • Q10
      • Declaring a function includes stating the function exists and includes important information like its name and parameters
      • Defining a function includes the code and instructions that it will carry out.
      • Calling a function actually carries out and preforms the function in run-time.

Informationen

Beschreibung
Mindmap am Assignment 1, erstellt von Nick Kapsos am 29/08/2021.
Erstellt von
Nick Kapsos
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck