Python

My discussion assignment for my python programming class.

Get Started. It's Free
or sign up with your email address
Python by Mind Map: Python

1. Pseudocode

1.1. Debugging

1.1.1. When you go back and look over your code to figure out any problems.

1.2. input

1.2.1. A label for what has to go into the program/ what is asked of the user.

1.3. output

1.3.1. A label for what needs to come out of what ever comes in from input

2. print(

2.1. +

2.1.1. Allows for two strings to be connected

2.2. string

2.2.1. text you want the computer to read

2.3. (“string literal”)

2.3.1. Text you want to be printed onto a screen so users can see.

2.4. concatenation

2.4.1. Allows you to combine strings

2.5. slice

2.5.1. Allows user to separate a specific letter or more from a bigger word.

2.6. index position

2.6.1. Allows user to pick a specific letter depending on it's location. Also starts from 0 instead of 1.

2.6.2. word[0:4] also goes with this as it is it's form in code.

3. Before Code. Needed always before to plan out what needs to be done.

4. Required to have anything show up on your screen.

5. def main ( ):

5.1. #comment

5.1.1. Allows programmer to add in a message that the computer does not register as code.

5.2. main ( )

5.2.1. Every Beginning needs an end. This is required at the end of any program as a closing type tag for def main ():

6. input(

6.1. Variable

6.1.1. Place holder for anything really. Really good for numbers and answers gotten from input.

6.2. Order of Operations

6.2.1. Order of which math works. PEMDAS basically.

6.3. float

6.3.1. Necessary when an answer is in the form of 1.0 or basically anything with a decimal.

6.4. integer

6.4.1. Only needed when Regular numbers are used with no decimals.

7. Needed to start code. The beginning tag to signal your computer that this is code.

8. Required to get outside text from a user.