Create a program asking the user to enter 2 number by input through the keyboard. In the try block, divide the first variable with the second variable. In the except block, use the "ZeroDivisionError"...

Pls answer this question in python
Create a program asking the user to enter 2 number by input through the keyboard.<br>In the try block, divide the first variable with the second variable.<br>In the except block, use the

Extracted text: Create a program asking the user to enter 2 number by input through the keyboard. In the try block, divide the first variable with the second variable. In the except block, use the "ZeroDivisionError" and print the value of variable 2, telling the user that division with variable 2 is not allowed In the else block, print variable 1 and 2 and the result of the division In the finally block, print a message to say that everything worked. ***Make one example where the try is not True, make another example where the try is False

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here