Find the third number

Report a typo

The list prices contains several numbers. Print the third number from this list.

For example, if prices looks like [170, 309, 224, 991, 4000], you should print 224.

Write a program in Python 3
# the following line reads the list from the input, do not modify it, please
# split() helps to convert your input into a list
prices = input().split()

# please work with the list 'prices' here
___

Create a free account to access the full topic