def half(sequence):
result=[]
for element in sequence:
result=result+[element/2]
return result
half([6.6])
[3.3]
half([30,31,32])
[15.0, 15.5, 16.0]
x=[30,31,32]
half(x)
[15.0, 15.5, 16.0]
half([321])
[160.5]
l=[30,31,32]
for num in l:
print(num/2)
15.0 15.5 16.0