CodePudding user response:
For exampleThe count=0
Sum=0
While True:
A=int (input ())
If a=="quit" :
Break
Sum=sum + a
Count +=1
Print (sum/count)
CodePudding user response:
The second question at first glance formula is easy, but the use of many a decimal to express? A number of double level is only 170 factorial and accuracy is very poor, I count to 10000, how many digits?In fact I to 14 after already it's hard to see the difference,
CodePudding user response:
10000! More than 35000 digital uncle need operationCodePudding user response:
Understand, thank you, I'm not too will be the second question to zha to, understand now