Unterhaltung
Nachrichten
-
l = 5 for i in [1,2,3]: a = [random.randint(0, i) for i in range(l)] yield i, a #python ^ spot the bug. That seriously bit me.
Monday, 20-Jun-16 11:17:00 UTC von web-
in my real code, this is not detected by pylint.
-