elements of a list in single line

Sai_kiran_rachakonda · October 30, 2022
num = [23,24,54,34]
for i in num:
    print(i, end = " ")
Output

Comments

Please sign up or log in to contribute to the discussion.