**New course!**Every coder should learn

**Generative AI!**

# I would like to ask what's the problem in my code and why...?

def main(): numbers = [] for z in range(20): num = int(input(f"Enter number {z + 1}: ")) numbers.append(num) lowest_num = determineLowest(numbers) highest_num = determineHighest(numbers) total_sum = sum(numbers) average = total_sum / len(numbers) print(f"Lowest number: {lowest_num:.2f}") print(f"Highest number: {highest_num:.2f}") print(f"Total of the numbers: {total_sum:.2f}") print(f"Average of the numbers: {average:.2f}") def determineLowest(numbers): lowest = numbers[0] for num in numbers: if num < lowest: lowest = num return lowest def determineHighest(numbers): highest = numbers[0] for num in numbers: if num > highest: highest = num return highest if __name__=="_main_": main()