0

How can I print all the outputs of a "for" on the same line? Help me

https://code.sololearn.com/c8uZBxdwTQN5/?ref=app

18th Mar 2020, 11:34 PM
Hugo RaĂșl LĂłpez EnrĂ­quez
2 Answers
+ 4
lista = [2, 3, 4, 5] for i in lista: suma = i + 3 print(f"{suma} ",end="")
18th Mar 2020, 11:38 PM
Cmurio
Cmurio - avatar
+ 1
Jesus Eduardo Canul Koyoc graciass, thank you so much
18th Mar 2020, 11:41 PM
Hugo RaĂșl LĂłpez EnrĂ­quez