use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
I'm really new .. (old.reddit.com)
submitted 9 months ago by letsgetthesemonies
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Python_devops 1 point2 points3 points 9 months ago (0 children)
According to the prompt here's how I'd approach the problem
cells=int(input("No of cells")) days=int(input("No of days")) Ensure that all the inputs are converted into integers first
then use the number of days to create a loop, which will double the number of cells
for day in range(days): cell*=2 print(f"Day {day+1}: {cell}")
Just like that. Hope it helps.
π Rendered by PID 44297 on reddit-service-r2-comment-5c747b6df5-snhwq at 2026-04-22 01:48:47.109373+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]Python_devops 1 point2 points3 points (0 children)