print single digit...
1) input ..2 2 1
1) output... 1
2) input ...8 9 6 8 9 6 5
2) output...5
def print_num(list1): return list1[-1] print_num([1,1,2])
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment