Back to Library QID: #84034

Solution for QID #84034: Instructions You will complete this assignment in Python | StudyHelpMe

Subject: Psychology
Status: Verified Solution
Instructions You will complete this assignment in Python 3.x. Make sure you have downloaded the software and it is installed correctly. You will download it from this www.python.org Week4-5 You must review the attachments for this week and the prior week to know how to create a Python program Review the attached tutorial and create the following: - Part 1 The file name should be week51_{yourlastName}.py Create a Simple calculator that takes 2 numbers and produces the following The sum of  2 + 3 is  5 The sub of  2 - 3 is  -1 The mul of  2 * 3 is  6 The div of  2 / 3 is  0.6666666666666666 The avg of  2  and  3 is  2.5 Part 2 Create a Python program based on week 3 assignment requirements. The file name should be week52_{yourlastName}.py You are allowed to hard code the values in this assignment or use input() function Example: name = "Sambaz"  # hard coded value name = input("What is your name")      ## Acceptable hardcoding      name=”Sambaz ”     print(“My Name = “, name)      ## Not acceptable hardcoding       print(“My name = Sambaz ”)     To test your code, ONLY change the inputs. The outputs/print should produce the desired results. Do not hardcode the results (that is not programming)     for more info/examples see attached documents. Use simple coding, do not use function def. You need to submit the output of your code (the results of the code run and not the code itself).  I will accept an image or text. Your code should produce the receipt below with your input data Sample output: (receipt)  Shopper name: Ymmas Azaba Apus food store 2/20/2020 Item                 Price                Quantity          Total Banana            1.05                 2                      2.10 Commute expense Commute type: Taxi                              Fee:  5.00 Total expenses                                                7.10 Your code must include the comment block that starts at line 1. The comment block is a comment and not part of the code      """       Your Name          : Ymmas Azaba     Course Name      : Section (example: ENTD200 B002 Spr15)     Instructor Name  :     Week #              :     Date completed   :     Notes                 : how to run the program you created  such as  >py mycode.py   """ You need to submit the output/results of your code. The results can be in a text file or image. I need the simple calculator from part 1   and   I need the output of part 2 of the assignment to look like this: Your code should produce the receipt below with your input data Sample output: (receipt) Shopper name: Brandon Passman Kroger 08/08/2021 Item Price Quantity Total Apple 1.00 4 4.00 Commute expense Commute type: Bus Fee: 2.00 Total expenses 6.00   
ZERO AI
Human Written
PHD EXPERTS
Verified
TURNITIN
Clean Report
FAST DELIVERY
Instant/Hourly