← Previous Next →

Using operators

Created by Julien Palard

Instructions

Make a Python script that print the result for 8958937768937 / 2851718461558 and (1 + √5) / 2.

Print one result per line (so I expect two lines).

Advice

The square root of a number is equal to this number power 0.5.

References

Operators: https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex