Advertisement
VF-

Untitled

VF-
Nov 13th, 2022
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | Source Code | 0 0
  1. import math
  2. def jarmu():
  3.     maxi=-math.inf
  4.     rsz=''
  5.     while True:
  6.         seb= int(input("Sebesseg: "))
  7.         if seb == 0:
  8.             break
  9.         szam = input("Rendszam: ")
  10.         if seb> maxi:
  11.             maxi = seb
  12.             rsz = szam
  13.     return rsz
  14.  
  15. print(jarmu())
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement