+ 1

Hi please see my program and tell me what is wrong?

d = int(input()) print (1000000*d) print (0.01*(2**d))

14th Aug 2021, 9:20 PM
Lili
Lili - avatar
3 Respostas
+ 6
Why do you think it is wrong ? Because when i ran the program it gave me no error . Also please remember to tag the language name that is relevant to the code or anything else your question is about.
14th Aug 2021, 9:44 PM
Abhay
Abhay - avatar
+ 3
Looks like you're trying to complete exponentiation end of the module project. Next time, it would be good to share the task or at least project's name with the community. Somehow, you can easily get it if you read the hint carefully. If 0.1*(2**5) for 5th day, then what is for the 30th day? It's not necessary to take input from the user since it's a constant value.
15th Aug 2021, 1:16 AM
Simba
Simba - avatar
+ 1
Can you give details on what isn't working?
14th Aug 2021, 9:54 PM
PresidentOfYes12
PresidentOfYes12 - avatar