Untitled

mail@pastecode.io avatar
unknown
python
a month ago
232 B
1
Indexable
Never
if __name__ == '__main__':
    n = int(input('Podaj ilość danych testowych: '))

    for _ in range(n):
        number = input("Podaj liczbę: ")
        if number.count('0') == number.count('1'):
            print(number)
Leave a Comment