t = int(input()) for _ in range(t): s = input() l = list() s.replace('.','0') for a in s: l.append(int(a)) print(l)
1 .2...
Standard output is empty
Traceback (most recent call last): File "./prog.py", line 7, in <module> ValueError: invalid literal for int() with base 10: '.'