Answer:
weights = []
total = 0
max = 0
for i in range(5):
weight = float(input("Enter weight " + str(i+1) + ": "))
weights.append(weight)
total += weights[i]
if weights[i] > max:
max = weights[i]
average = total / 5
print("Your entered: " + str(weights))
print("Total weight: " + str(total))
print("Average weight: " + str(average))
print("Max weight: " + str(max))
Explanation:
Initialize the variables
Create a for loop that iterates 5 times
Get the values from the user
Put them inside the array
Calculate the total by adding each value to the total
Calculate the max value by comparing each value
When the loop is done, find the average - divide the total by 5
Print the results
sum of 10 natural number is 55
Generally this is true, since you would need at least two tables to have a foreign key relationship. However, technically you can have an empty database with no tables (not very useful of course), or a database with only one table. Even though that table will not have any references to another table, you'd still call this a relational database by type.
Answer:
reflect, shadow, move subject
Explanation:
hope this helps
Answer:
Most injury crashes in Florida happen in dusk conditions
Explanation:
Dusk is the time of the day when the sun is setting. At this time of the day, the visibility on the roads is less. This time of the day, the number of cars on the roads is also significantly greater. This indirectly means that the possibility of most injury crashes in Florida in dusk conditions considerably increases.
The amount of tourism happening in the state is also a condition that takes part in injury crashes due to increased traffic on the roads.