Advertisement
Nevtr4l

Base Python (Casos múltiples)

Aug 27th, 2024
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. def main():
  2.     # leer número de casos
  3.     t = int(input())
  4.     for _ in range(t):
  5.         solve()
  6.  
  7. def solve():
  8.     # aquí va tu código
  9.     n = input()
  10.     print(n)
  11.  
  12. if __name__ == "__main__":
  13.     main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement