290,673 views
43 votes
43 votes
Part 1: Plan and Write the Pseudocode

Use the following guidelines to write your pseudocode for a fill-in story program.
1. Decide on a list of items the program will ask the user to input.
2. Your program should include at least four interactive prompts.
3. Input from the user should be assigned to variables and used in the story.
4. Use concatenation to join strings together in the story.
5. Print the story for the user to read.

User Ernir Erlingsson
by
3.1k points

1 Answer

11 votes
11 votes

Coding:

def main():

name = input("Enter your name: ")

age = input("Enter your age: ")

color = input("Enter you favorite color: ")

birth = input("Enter your birthday: ")

print(name + " is "+age+" year(s) old.")

print(name + "'s favorite color is "+color)

print(name + " was born on "+ birth)

main()

Step-by-step explanation:

Pseudocode is a generic way of writing an algorithm, using a simple language (native to whoever writes it, so that it can be understood by anyone) without the need to know the syntax of any programming language.

Part 1: Plan and Write the Pseudocode Use the following guidelines to write your pseudocode-example-1
User Faizy
by
2.9k points