- 7

How to get the right output

Please help

21st Jul 2020, 5:59 AM
Mohd Sameer
Mohd Sameer - avatar
32 Respostas
- 4
Please reframe your question and tell where you are getting problem
21st Jul 2020, 6:12 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
21st Jul 2020, 7:32 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
+ 5
#the right answer is # your code goes here for i in range(1,31): if i==30: print(0.01*(2**i))
20th Apr 2021, 5:59 AM
Makane Santosh
Makane Santosh - avatar
+ 3
Accurate answer
21st Jul 2020, 7:05 AM
Mohd Sameer
Mohd Sameer - avatar
+ 2
print(0.01*(2**30) Single line code You will get answer
10th Nov 2020, 5:23 PM
Vishal Srivastava
Vishal Srivastava - avatar
+ 2
for i in range(1,31): if i==30: print(0.01*(2**i)) #HERE IS THE ANSWER
24th Jan 2021, 8:43 PM
Fahad Khan
Fahad Khan - avatar
+ 1
answer is : print(.01*2**30)
5th Jan 2021, 12:30 AM
Neupane Dev
Neupane Dev - avatar
+ 1
kote
21st Apr 2021, 7:49 AM
Haziq Afiq
+ 1
To solve the Python Core Unit 1 challenge you will need to: 1) Comment out the other lines of code you are given by placing a "#" before each line of code. 2) Add this single line of code: print(.01*(2**30)) 3) Run Strategy to Solve: Step 1: If you don't do step one, your output will not match the information in the expected outcome. Run your code and you will see nothing in the "input" area, a bunch of sentences and the correct answer in the second "your output" area, and expected outcome to just be the amount of money you will have after 30 days if you take the one-penny/cent doubling each day. Step 2: This step means the one cent/penny doubling every day for 30 days. Step 3 Running the code, the first time, is necessary to learn you need to do step one to solve this problem (even if everything else is correct). Hope this helps.
27th May 2021, 7:37 PM
EO4Wellness
EO4Wellness - avatar
0
Help me out bro
21st Jul 2020, 6:24 AM
Mohd Sameer
Mohd Sameer - avatar
21st Jul 2020, 6:59 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
0
It's is not right
21st Jul 2020, 7:04 AM
Mohd Sameer
Mohd Sameer - avatar
0
Answer is right but he want
21st Jul 2020, 7:04 AM
Mohd Sameer
Mohd Sameer - avatar
0
Mohd Sameer what's the output format??
21st Jul 2020, 7:14 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
0
10737418.24 (note: there is space in beginning) where we are mistaking
21st Jul 2020, 7:18 AM
Mohd Sameer
Mohd Sameer - avatar
0
Wait in my code at last there is also space printed
21st Jul 2020, 7:31 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
0
But it's not accepting
21st Jul 2020, 7:31 AM
Mohd Sameer
Mohd Sameer - avatar
0
How can I send screen shot
21st Jul 2020, 7:34 AM
Mohd Sameer
Mohd Sameer - avatar
0
Just post it in your feed and share the link here or post it on dropbox or google drive and share the link here
21st Jul 2020, 8:21 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
0
print(0.01*(2**30))
3rd Jan 2021, 5:21 AM
hassan gulrez
hassan gulrez - avatar