python program to print list without brackets
lst = [1,2,3,4,5]
print(*lst,end="")
#output
1 2 3 4 5
python program to print list without brackets
lst = [1,2,3,4,5]
print(*lst,end="")
#output
1 2 3 4 5
how to print list without brackets python
print(', '.join(names))
how to print a list without the brackets in python
names = ["jeff", "Mike", "Mario"]
#if you want to print in seperate lines
for x in range(len(names)):
print(names[x])
#If you want to print in same line
for x in range(len(names)):
print(names[x], end=" ")
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us