Placeholder

CS192 Programming Essentials – Week 8 Assignment

$19.00

Description

Modify one of the programs you designed in weeks 1-6 to do the following:
·         Incorporate the TRY and EXCEPT blocks
·         Handle any errors and exceptions that you can find
Example of the week 1 program’s input and output is shown below:
Enter your amount 1: zero
Error: Invalid input! Numeric value expected.
SCREENSHOTS
SOLUTION
PAYMENT
The solution consists of:
A report word document for this assignment
All Python programs in case you want to run theses programs on your computer.
Screenshots while running programs
Attachments [Move over files to preview content of those files]
CS192_WEEK_8.zip (153.10 KB)
CS192-Week-8-Screenshot-1.png
CS192_Week8_Report.docx
Pycharm Project
CS192Week8
.idea
.gitignore
CS192Week8.iml
inspectionProfiles
profiles_settings.xml
misc.xml
modules.xml
workspace.xml
week8.py
Python code
week8.py
Preview week8.py
xx __xxxx__ == ‘__xxxx__’:
xxxx = xxxxx(‘xxxxx xxxx xxxx:’)
xxxxxx = xxxx
xxxxx = xxxx
x = xxxx
y = None while retry: try: string = input(‘Enter number x: ‘) x = int(string) retry = False except ValueError:
xxx:
x = xxxxx(xxxxxx)
xxxxx(‘xxxxx: xxxxxxx xxxxx! xxxxxxx xxxxxx xxxxxxxx.’)
xxxxxx xxxxxxxxx xx x:
xxxxx(‘xxxxx: xxxxxxx xxxxx! xxxxxxx xxxxx xxxxxxxx.’)
Preview week8.py
xx __xxxx__ == ‘__xxxx__’:
xxxx = xxxxx(‘xxxxx xxxx xxxx:’)
xxxxxx = xxxx
xxxxx = xxxx
x = xxxx
y = None while retry: try: string = input(‘Enter number x: ‘) x = int(string) retry = False except ValueError:
xxx:
x = xxxxx(xxxxxx)
xxxxx(‘xxxxx: xxxxxxx xxxxx! xxxxxxx xxxxxx xxxxxxxx.’)
xxxxxx xxxxxxxxx xx x:
xxxxx(‘xxxxx: xxxxxxx xxxxx! xxxxxxx xxxxx xxxxxxxx.’)
Price: $19
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.