def displaylist(lst):
for i in range(0,len(lst)):
if lst[i]%2==1
lst[i]=lst[i]*5
lst=[23,12,34,45,67]
displaylist(lst)
print("List",lst)
find the output for this program .....
Helps plz...
Answers
Answered by
3
Answer:
according to you code error will come.....
but if the code is
'''def displaylist(lst):
for i in range(0,len(lst)):
if lst[i]%2==1:
lst[i]=lst[i]*5
lst=[23,12,34,45,67]
displaylist(lst)
print("List",lst)'''
then the output will be
List [115, 12, 34, 225, 335]
#hope it helps you
please mark brainliest
Answered by
2
Answer:
Hlo Tamila bro .......
Answer me bro.
Similar questions