Fejezet 6
This commit is contained in:
9
fejezet 6/f11/f11.py
Normal file
9
fejezet 6/f11/f11.py
Normal file
@@ -0,0 +1,9 @@
|
||||
a = int(input("a"))
|
||||
b = int(input("b"))
|
||||
|
||||
def osszehasonlitas(a,b):
|
||||
if(a > b): return 1
|
||||
elif(a == b): return 0
|
||||
else: return -1
|
||||
|
||||
print(osszehasonlitas(a,b))
|
||||
Reference in New Issue
Block a user