0
HOW TO REMOVE SQOUARE BRACKETS WHILE PRINTING A LIST
Code is See list = [183,11,32] print(list) Output : [183,11,13]#i dont want to show square brackets([])
9 Answers
+ 7
print(*list)
+ 2
for i in list:
print(i, end=" ")
print()
+ 2
print(", ".join(map(repr, list)))
+ 1
Well you can do it in this way also
+ 1
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 well said
+ 1
list = [183,11,32]
If you don't want brackets in output you can use
print(*list)
0
Hmm write
- 1
But
print(*obj) iz also great