Question: the questions about the following code: from decimal import * getcontext().prec = 5 num1 = Decimal(10)/Decimal(3) getcontext(). .prec = 3 num2 = Decimal(10)/Decimal(3) num3 =

the questions about the following code: from decimal import * getcontext().prec = 5 num1 = Decimal(10)/Decimal(3) getcontext(). .prec = 3 num2 = Decimal(10)/Decimal(3) num3 = num2/num1 What is the precision of the Decimal number num1? Enter an integer. What is the precision of the Decimal number num2? Enter an integer. + What is the precision of the Decimal number num3? Enter an integer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!