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
Get step-by-step solutions from verified subject matter experts
