Programming Essentials - MUST KNOW HOW TO DO PYTHON CODES
Week 1 Assignment
Write a program that does the following in order:
1. Asks the user to enter a name
2. Asks the user to enter a number “x”
3. Asks the user to enter a number “y”
4. Calculates the sum of “x” and “y”
5. Prints out the number for “x”, “y” and “sum”
An example of the program input and output is shown below:
Enter your name: Belinda Patton
Enter number x: 50
Enter number y: 10
The sum of 50 and 10 is 60
5 years ago 20
Answer(2)
Purchase the answer to view it
NOT RATED
- solution.zip
Purchase the answer to view it
NOT RATED
- ProgrammingEssentials.doc
other Questions(10)
- Brief Research: Valley National Bank Production, Operations MGT and Innovation
- group a
- DIVERSITY TRAINING MANUAL(Part 1 to Part 4)
- Marketing plan paper part c
- BUS463: Assignment 2: Operating a Small Business
- Assignment
- for josh only
- Dq2wk5
- Art homework
- Assignment: Coping With Change: Change Management Models and Philosophies