1)
n=int(input())
m=int(input())
if n % m == 0:
print(1)
else: print(0)
2)
if n != 0 or m != 0:
if n < 0 and m < 0 or n > 0 and m > 0:
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
1)
n=int(input())
m=int(input())
if n % m == 0:
print(1)
else: print(0)
2)
n=int(input())
m=int(input())
if n != 0 or m != 0:
if n < 0 and m < 0 or n > 0 and m > 0:
print(1)
else: print(0)