|
|
вернуться в форумPython почему Runtime error Послано Vigi 5 окт 2015 18:05 from random import randint v1 = '' v2 = '' cod1 = ''.join(map(str, [randint(0, 9) for _ in range(1, 5)])) cod2 = ''.join(map(str, [randint(0, 9) for _ in range(1, 5)])) while v1 != cod1 and v2 !=cod2: n = input().split() v1 = n[0] v2 = n[1] if v1 != cod1 and v2 != cod2: print('no') print('yes') |
|
|