Variables, IF/THEN/ELSE, Loops
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 site
You will code the following and submit it in one file. Use the information in the Content area for this week to assist you. Save it as a python file (.py), and upload it into the Assignments area.
1. Include comment block on line1 of your code with the following information:
""
"""
Your Name
Course Name, Section (example: ENTD200 B002 Spr18)
Instructor name
Week #
Date completed
"""
2. Create 2 Python programs based on week 5 Assignment flowcharts and requirements. You must use loops, do not use function calls.
Here is a SAMPLE run for a simple calculator to add to numbers (this is for reference only)
Simple Calculator
What is your name --> Supa
Enter first number --> 7
Enter second number --> 5
Supa, The total of 7.0 + 5.0 = 12.0
Do you want another calculation ? (y/n) y
What is your name --> Lupa
Enter first number --> 21
Enter second number --> 11
Lupa, The total of 21.0 + 11.0 = 32.0
Do you want another calculation ? (y/n) n
Thanks for using my calculator
Assessment Rubric:
A.Create a comment block with the following information:
Your Name
Course Name, Section (example: ENTD200 B002 Spr19)
Instructor name
Week #
Date completed
B. Write a program that will calculate the problem using a loop and stop after the condition has been met.
C. Print (print function with label).
5 years ago
15
Purchase the answer to view it

- answer.py
- CIS-512 w3 Discussion
- Case Analysis
- ENGLISH
- What are some examples of justice and leadership as it relates to employees? How does distributive justice come into play in healthcare field?
- heyChance
- UMUC ACCT612 midterm exam 2016
- Post MKT305 Unit 3 QUIZ latest 2015
- I need help for my Embedded system assignment ?
- Prof Lexi
- The Assignment (3 page APA-formatted essay) with resference