Link to home
Start Free TrialLog in
Avatar of AnB Arw
AnB Arw

asked on

python question

I am learning python and see the below line of code. I would like to know what it means

print("%.*f" % (digits, pi))

Here is the full code to return the value of pi up to first 10 digits.

Thanks
AB
ASKER CERTIFIED SOLUTION
Avatar of gelonida
gelonida
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AnB Arw
AnB Arw

ASKER

Thank you