0
How can I make a program that can print in the bracket[ ]. Pls answer this..........
a=1 b=[ ] print (a,b) #it prints 1,[ ] BUT I want [ 1].....
2 Answers
+ 5
a = 1
b = []
b.append(a)
print(a, b)
0
b = "[ ]"
?
a=1 b=[ ] print (a,b) #it prints 1,[ ] BUT I want [ 1].....