Advertisement
AlimusSifar

Life of Decimals - Toph.co - Brute Force

Apr 28th, 2020
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. import math
  2. a = list('%.15f' %math.pi ) # upto 15 decimal values
  3.  
  4. T = int(input())
  5. for t in range(T):
  6.         i = int(input())
  7.         print(a[1 + i])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement