write a phython program that promotes the user for two integer values and display the 1st number divided by the 2nd with exactly two decimal in places.
Answers
Answer:-
A Python program that prompts the user for two integer values and displays the result of the first number divided by the second with exactly two decimal places displayed. For example, Enter the first value: 13 Enter the second value 3 13 divided by 3 is 4.33 NOTE See the format (.) of str.format() functions for this and remaining questions Question 7 Write a Python program that prompts the user for two floating-point values and displays the result of the first number divided by the second with exactly six decimal places displayed For example Enter the first value: 37.5 Enter the second value: 4.72 37.5 divided by 4.72 is 7.944915 Question 8 Write a Python program that prompts the user for two floating-point values and displays the result of the first number divided by the second, with exactly six decimal places displayed in scientific notation. For example: Enter the first value: 5400 Enter the second value: 8.3 5400.e divided by 8.3 is 6.506024+02
Explanation:-
Hope this helps you please try to Mark me as brainlists please