I recently shifted to Ubuntu from Windows 10. In Windows 10 everything working well.
Code:
for _ in range(int(input())): n = int(input