9 lines
104 B
Text
9 lines
104 B
Text
|
|
def div_check (int x, int y)
|
||
|
|
try
|
||
|
|
/ x y
|
||
|
|
return false
|
||
|
|
catch divzeroerror
|
||
|
|
return true
|
||
|
|
end try
|
||
|
|
end
|