Advertisement
DerioFT

1080.py

Oct 26th, 2021
1,725
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. highest_value = 0
  2. position = 0
  3.  
  4. for data in range(100):
  5.     N = int(input())
  6.  
  7.     if N > highest_value :
  8.         highest_value = N
  9.         position = data + 1
  10.  
  11. print(highest_value)
  12. print(position)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement