for i in range(len(prices)):
prices[i] = int(amounts[i])*int(prices[i])
j = max(prices)
for i in range(len(prices)):
if prices[i] == j:
print(products[i])
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Python