I am almost sure the reason for WA is that its not printing all the digits for values with high precision
for ex - 9.5367431640625e-07
Is there any way in Python to ensure that all the digits are printed instead of in an exponential form, while ensuring that there are no trailing zeroes ?
test = int(sys.stdin.readline().strip())
for t in xrange(0,test):
n = int(sys.stdin.readline().strip())
result = 2*0.5**n
print result