+ 1
[INCOMPLETE] Python
there is no different Between using comma or not any one expalin
4 Respuestas
+ 7
Yes, please clarify...because commas do matter sometimes, and do *not* matter other times:
tuple1 = ()
tuple2 = (1)
tuple3 = (1,)
list1 = []
list2 = [1]
list3 = [1,]
print(tuple1, tuple2, tuple3)
() 1 (1,)
print(list1, list2, list3)
[] [1] [1]
There may be other examples...this is just a guess.
+ 3
Hello, Mounika !
Please write in more detail, and then different people can help you.
0
ok
0
nice