Printing out the nth value of the max number within a list

后端 未结 0 1929
终归单人心
终归单人心 2020-12-21 08:05

I want to print out the nth value of the the maximum number within a list

list_= [1,3,2,2,8,11,4]
max_val = max(list_)

Expected output

相关标签:
回答
  • 消灭零回复
提交回复
热议问题