Answer:
Power = 1920 Watts or 1.92 Kilowatts
Explanation:
Given the following data;
Resistance = 30 Ohms
Voltage = 240 Volts
To find power rating of the kettle;
Mathematically, the power consumption of an electric device is given by the formula;
Power = voltage²/resistance
Substituting into the formula, we have;
Power = 240²/30
Power = 57600/30
Power = 1920 Watts or 1.92 Kilowatts
Answer:
nums = []
while True:
in = input()
if in:
nums.append(in)
else:
break
if nums:
avg = sum(nums) / len(nums)
for i in range(len(nums)):
if nums[i] == avg:
print(f"index: {i+1}")
print(nums[i])
else:
print(-1) # if there aren't any values in nums
Explanation:
Assuming that you are coding in Python 3x. The last 'else' statement is an edge case that you might want to consider, I don't know what you want to put there, but I'm just going to leave it as -1.
Smart Watches are taking over normal watches. They are getting WAYYY cheaper. There is one for about $14