DerioFT

1080.py

Oct 26th, 2021
1,534
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data