📜  python cows and bulls - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:07.035000             🧑  作者: Mango

代码示例1
Say the number generated by the computer is 1038. An example interaction could look like this:
  
  Welcome to the Cows and Bulls Game! 
  Enter a number: 
  >>> 1234
  2 cows, 0 bulls
  >>> 1256
  1 cow, 1 bull
  ...