Advertisement
Josif_tepe

Untitled

Oct 14th, 2024
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. def main():
  2.     n = int(input("Vnesi golemina na niza"))
  3.    
  4.     niza = []
  5.        
  6.     # for(int i = 0; i < n; i++)
  7.     for i in range(0, n):
  8.         x = int(input(f"Vnesi go brojot {i}"))
  9.         niza.append(x)
  10.        
  11.        
  12.        
  13.  
  14. if __name__ == "__main__":
  15.     main()
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement