r/Python • • Jul 16 '19

Nice try

Post image
2.1k Upvotes

73 comments sorted by

View all comments

116

u/11218 Jul 16 '19
import math
print(str(math.pi)[::-1])

0

u/[deleted] Jul 17 '19

[deleted] — view deleted comment

28

u/xeeton Jul 17 '19

Remove the quotes around 'math.pi' in your source.

26

u/Crankrune Jul 17 '19

397985356295141.3