0
Why test cases are fail :/
Its working good but why test cases are fail num1 = abs(int(input(''))) num2 = abs(int(input(''))) num3 = abs(int(input(''))) num4 = abs(int(input(''))) Sum = (num1 + num2 + num3 + num4) Average = ((num1 + num2 + num3 + num4) / 4) Product = (num1 * num2 * num3 * num4) a = [num1, num2, num3, num4] MAX = (max(a)) MIN = (min(a)) print(Sum) print(Average) print(Product) print(MAX) print(MIN)
1 Réponse
+ 2
Try to remove the empty string inside the input:
>> num1 = abs(int(input())
Or if this still won't work, please send more details about the challenge. Thanks!