Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def leMatriz(n):
- matriz = []
- for i in range(n):
- linha = input().split()
- matriz.append(linha)
- return matriz
- def main():
- opcao = int(input())
- if opcao == 0:
- n = int(input())
- tabuleiroInicial = leMatriz(n)
- tabuleiroFinal = leMatriz(n)
- if tabuleiroInicial == tabuleiroFinal:
- print("SIM")
- else:
- print("NAO")
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement