Write a Python program to input 12 temperature values (one for each month) and display the number of the month with the highest temperature
maxTemp =
maxMonth = 0
for mon in range(12):
temp = float(input("Enter temperature: "))
if temp > maxTemp:
maxTemp = temp
maxMonth = mon
print('The maximum temperature of {} occured in month {}'.format(maxTemp,maxMonth))
Hello, if I write import sys and maxTemp=sys.float_info.min, it works but is there any way for this problem to solve it by not using sys or any special modules?