登录
首页 » python » python 井字棋

python 井字棋

于 2022-06-17 发布 文件大小:1.50 kB
0 100
下载积分: 2 下载次数: 1

代码说明:

PYTHON 井字棋,#井字棋 import random #是否重来一次 def playAgain(): print("你想重玩一次吗?(是/否)") return input() == "是" #选择什么符号棋子 def inputPlayerLetter(): letter = "" while not (letter =="X" or letter =="O"): print ("你想选x还是o") letter = input().upper() if letter == "X": return ["X","O"] else: return ["O","X"]

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • SpeechEmoRec-master
    语音情感识别。使用卷积神经网络对语音情感识别(speech emotion recognition)
    2020-09-19 15:17:57下载
    积分:1
  • distance-between-objects
    说明:  利用python+opencv测量图片中目标物体之间的距离(Measuring distance between objects in an image with OpenCV)
    2021-03-30 17:09:10下载
    积分:1
  • PYTHON
    说明:  这个是本人的python机器学习与入门编程的练习文本,程序调试基本正确,利于入门者练习参考。(This is my python machine learning and introductory programming practice text, program debugging is basically correct, helpful for beginners to practice reference.)
    2019-02-28 17:35:08下载
    积分:1
  • ShamirSecretsharingPy
    说明:  python语言实现多项式秘密分享,并且可以用拉格朗日插值恢复(Python language implements polynomial secret sharing and can be restored by Lagrange interpolation)
    2020-11-18 01:39:39下载
    积分:1
  • 射击游戏
    说明:  基于pygame简单的2维平面射击游戏。python新手可以参考(A Simple 2-D Planar Shooting Game Based on pyGame)
    2019-04-20 10:14:01下载
    积分:1
  • NNTest (2)
    说明:  人工神经网络实验,采用RBF神经网络实现函数的拟合(In the experiment of artificial neural network, RBF neural network is used to realize the function fitting)
    2020-12-01 10:23:45下载
    积分:1
  • 政府工作报告等文件用python转换成词云
    需求:对于政府工作报告等策文件,如何直观理解? 体会直观的 价值 :生成 词云 & 优化词云 将 政府工作报告等文件 有效的转换成词云
    2022-02-15 23:06:18下载
    积分:1
  • Tello_Video_With_Pose_Recognition
    tello无人机识别人体姿态,可识别前进、后退、降落三个姿态(Identify human posture)
    2020-06-23 14:20:02下载
    积分:1
  • teardrop_smb
    说明:  针对早期windows系统SMB协议的攻击 前提时先安装安装python 在命令提示符窗口中首先进入py命令所在的文件夹 直接键入python xx.py后回车确认(Attacks on SMB Protocol of Early Windows System Install Python first First enter the folder where the PY command resides in the command prompt window Type Python xx.py directly and return to confirm)
    2020-06-23 15:40:02下载
    积分:1
  • statlearning-notebooks-master
    statistical learning source code
    2018-02-28 22:09:40下载
    积分:1
  • 696516资源总数
  • 106475会员总数
  • 7今日下载