[ create a new paste ] login | about

Link: http://codepad.org/SPBN2ID0    [ raw code | output | fork ]

Python, pasted on Feb 14:
1
2
for i in range(1, 50):
    print("{}{}".format(i, i+1))


Output:
1
2
3
4
Traceback (most recent call last):
  Line 2, in <module>
    print("{}{}".format(i, i+1))
AttributeError: 'str' object has no attribute 'format'


Create a new paste based on this one


Comments: