- 3

A bacteria culture starts with 500 bacteria and doubles in size every hour. Which means, after 1 hour the number of bacteria is

Any one now the answer Can someone put Python code for it?

21st Jun 2021, 1:29 PM
Lavesh Lingayat
5 Antworten
+ 5
I'm sure you can do this! Please show your code. If I give you 1 hint now, you have 1 hint. After one hour I double the number of hints you have by then. So how many hints will you have? 500 bacteria * (x**n_hours)
21st Jun 2021, 1:39 PM
Lisa
Lisa - avatar
+ 1
it is the same task as in old indian chess prize task
21st Jun 2021, 3:29 PM
Shadoff
Shadoff - avatar
+ 1
Yes Lisa
21st Jun 2021, 3:53 PM
Shadoff
Shadoff - avatar
0
Shadoff the one with the rice grains and the chessboard?
21st Jun 2021, 3:47 PM
Lisa
Lisa - avatar
- 3
1000?
21st Jun 2021, 1:32 PM
Eashan Morajkar
Eashan Morajkar - avatar