the first thing i learned as a python programmer
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
Code 1.
output 1.
Flowchart 2
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:
Output 2:
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
Code 3:
Output 3
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
Code 4:
Output 4: