Home / Expert Answers / Computer Science / what-is-output-class-factorial-def-init-self-num1-5-self-num1-num1-def-c-pa487

(Solved): What is output? class Factorial: def __init__(self, num1 = 5): self.num1= num1 def c ...



What is output? class Factorial: def __init__(self, num1 = 5): self.num1= num1 def calculate_fact(self): fact = 1 for i in range(1, self.num1 + 1): fact *= i print(fact) fact1 = Factorial(2) fact1.calculate_fact() Group of answer choices 1 120 5 2



We have an Answer from Expert

View Expert Answer

Expert Answer


We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe