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

Mind map

Declare a function using definition of input

Catrin Seepo English

Map content

Declare a function using definition of input

  1. The variable outside of this function is global

  2. Before adding a value, the variable is 'none' which has no value yet

    • Use other functions such as random.radint
      • One may use return: statement to return a value
        • If needed, we could define a new function, which is inside of random.radint funciton
          • use print function, and use (+) to connect two strings together inside of the print function
            • After executing the function that was defined, we may call the function
        • Variables that are part of this function are local
  3. The input might be a string

Information

Description
Mind Map on Declare a function using definition of input, created by Catrin Seepo on 11/10/2021.
Created by
Catrin Seepo
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?