fork download
  1. c = str([5, 6])
  2. for x in c:
  3. print(c)
  4.  
  5. print('---------------')
  6. cc = str([c])
  7. for x in cc:
  8. print(cc)
Success #stdin #stdout 0.01s 27712KB
stdin
Standard input is empty
stdout
[5, 6]
[5, 6]
[5, 6]
[5, 6]
[5, 6]
[5, 6]
---------------
['[5, 6]']
['[5, 6]']
['[5, 6]']
['[5, 6]']
['[5, 6]']
['[5, 6]']
['[5, 6]']
['[5, 6]']
['[5, 6]']
['[5, 6]']