+ 3
Please help me out with the exponentiation end of module project
I've written it in different ways, of which I see it correct but it didn't work. a = input() result = a*(2**30) print (result)
5 odpowiedzi
+ 4
num was already set and its value was 1.000.000$ (or 0.01).
So you may use it and avoid input() function.
+ 2
Thanks Stefan it worked, but its really funny why it didn't work.
+ 1
Try this
It should work
num = 0.01 * (2**30)
print(num)
0
res = 0.01*(2**30)
print(res)
0
Stefan
why you don't use 1000000$??, and why you use 2??, Thanks 😊