Home > other >  Python chicken with rabbit cage
Python chicken with rabbit cage

Time:09-24

The great god, please grant instruction, I can't just use CSDN, not knot, please help my friend tell me how to knot, I posted to knot, thank you

CodePudding user response:

For rabbit in range (int (legs/4) + 1) :
For chick in range (int (legs)/2 + 1) :
If the rabbit + chick==heads and legs rabbit + 2=4 * * chick:

Print (" % d, % d "% (rabbit, chick)
  • Related