the first thing i learned as a python programmer

in coding •  7 years ago 

this was the first project i did for a college IT programming course i have been taking, everything is explained in psuedocode
Program 1

Pseudocode:
Start
Display request for user name
Assign variable userName from user script
Display intro
Display sentence hello userName
End

Flow chart 1
flowchart 1.png

Code 1.
code 1.png

output 1.

output 1.png

Flowchart 2

flowchart 2.png

Pseudocode 2

Start
Display request for first number
Assign variable for first number from user script
Display request for second number
Assign variable for second number added from user script (firstNumber + secondNumber = sum)
Display sum of number added
End

Code 2:

code 2.png

Output 2:

output 2.png

Pseudocode 3:

Start
Display request for first name
Assign variable firstName from user script
Display request for last name
Assign variable lastName from user script
Display: lastName, firstName
End

Flowchart 3

flowchart 3.png

Code 3:

code 3.png

Output 3

output 3.png

Pseudocode 4:

Start
Display input for first number
Assign variable for firstNumber from user script
Display input for second number
Assign variable for secondNumber from user script
Display input for third number
Assign variable for thirdNumber from user script
Display input for forth number
Assign variable for fourthNumber from user script
Find the sum of all four numbers added ( first+second+third+fourth= sum)Display sum to screen
End

Flow chart 4

flowchart 4.png

Code 4:

code 4.png

Output 4:

output 4.png

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!