Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Imagine a scenario where you create a piece of digital content and share it on a social network. Every day, a certain percentage of the
Imagine a scenario where you create a piece of digital content and share it on a social network. Every day, a certain percentage of the people who see your content also create their content and share it We want to predict the total number of pieces of content on the network after a certain number of days.
Complete a function using a forloop to predict the number of content pieces on the network. Parameters are:
The initial number of content pieces shared.
The daily content sharing increase as a percentageenter and convert it to
The number of days the content will be shared and reshared.
Take these three parameters all are integers as inputs of the function, and then return the predicted number of content pieces on the network.
Test cases
contentsharing
contentsharing
Format
The final number of content pieces should be an int. Round down your result to meet this requirement.
PYTHON PLEASE
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started