Answer:
count = 0
months = 0
years = int(input("Enter the number of years: "))
for year in range(1, years+1):
cars_sold = int(input("Enter the number of cars sold in first six months: "))
count += cars_sold
months += 6
print("Number of months: " + str(months))
print("Number of cars sold in total: " + str(count))
print("Average number of cars sold per month: " + str(count / months))
Explanation:
Initialize the variables
Ask the user for the number of years
Create a for loop that iterates depending on the given number of years
Ask the user for the number of cars sold in the first six months of the year
Increment the count by given number and increment the months by 6 after each iteration
Print the months, count and, average
Answer: Falsifiability
Explanation: Falsifiability is the term that is defined as the evaluation of any particular hypothesis or theory to be proven wrong .This feature gives the access that the theory can be tested and have more accurate claims .
The ESP(Extrasensory perception) theory can also have feature of being falsifiable because the experiments and test lead to the issue that the negative effects of the theory are not certain which might occur due to simple observation of effects.
Answer:
Please see below
Explanation:
Suppose N = 10. And you have these dots equidistant from each other, and probability = 0.3. According to the data provided in the question statement, we will then have forty-five pairs of points. The task is to draw lines amongst these pairs, all 45 of them, with a 30% probability. Keep in mind that every one of the 45 lines are independent.
A few lines of simple code (just some for loops) needed to run this is attached in the image herewith, .
Answer:
You may think your photo is removed from the internet, but is actually not. Do you know why? Because if you post a picture on the Internet, people can quickly start posting it somewhere else, which causes the picture that you thought you deleted or removed from your blog is on a different website. This is why you need to watch what you are posting because just one little thing can spark the most attention, causing you to get into the MOST trouble.
Hope this Helps!
Answer:
I think it's B because it can't be any other