prog3_19.py

a = int(input("Aさんの手?"))
b = int(input("Bさんの手?"))
result = (b-a) % 3
print("結果は", result, "です!")

# プログラム3-19(じゃんけんの勝敗)