I've written it in different ways, of which I see it correct but it didn't work.
a = input()
result = a*(2**30)
1/4/2021 9:19:29 PM
num was already set and its value was 1.000.000$ (or 0.01).
So you may use it and avoid input() function.
Thanks Stefan it worked, but its really funny why it didn't work.
It should work
num = 0.01 * (2**30)
res = 0.01*(2**30)
why you don't use 1000000$??, and why you use 2??, Thanks 😊
Send us a message