ji tu = int (input(‘请输入鸡兔总数:’))
tui = int (input(‘请输入腿的总数:’))
tu = (tui-ji tu*2)/2
if int (tu) = tu:
print (‘鸡:’,ji tu-tu, ‘兔:’,tu)
else:
print (‘数据输入不正确’)