Question: Write your programs in Python. 2 . Include comments in each program; start with your name in the first comment. 3 . Label your answers

Write your programs in Python. 2. Include comments in each program; start with your name in the first comment. 3. Label your answers with the appropriate Problem and Part, ie Problem 1 Part a)4. Display your answers such as flowchart and pseudocode in a word document. Upload the Word file. 5. Save your programs code in a text file. Upload the .txt file. 6. Present the output of your program in a video. Be sure to show your code and run it in the editor Upload the video file, as well. 6.Also, if you wish to write the code, upload the file containing the programs code saved as a .txt file or py file and accompanying video that demonstrates your code being ran in the Python editor. Problem 1(5 pts): Compute the square and cube of odd numbers 1,3,5,7,9 a) Write the flowchart and pseudocode to solve this problem (2 pts) b) Write and run your Python program that will produce the following results (3 pts) Square Cube 1113927525125749343981729 Problem 2(10 pts): Dinner Party You have invited 8 friends to a diner party and have requested that they let you know their food preference as vegetarian or non-vegetarian. A vegetarian dish cost 30 dollars and a non-vegetarian dish cost 25 dollars. You want to create one list of your vegetarian friends so you can make the restaurant reservations. a) Write the flowchart and pseudocode to solve this problem (2 pts) b) Write a program that will produce the list of vegetarian friends, for example, your list could be (2 pts) c) Count the number of vegetarian meals. Mary Jones vegetarian Margaret Wilson vegetarian Jorge Harris vegetarian

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!