登录
首页 » python » python 井字棋

python 井字棋

于 2022-06-17 发布 文件大小:1.50 kB
0 56
下载积分: 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 个回复

  • tensorflow for ASR
    tensorflow for Auto speech recognition. 基于LSTM+CTC方法实现的tensorflow版本的语音识别的toy code。目前在清华thchs30小时上可以达到近似30%的字错率,train数据集上错误率更低,其中LSTM采用了双向结构
    2023-04-09 00:35:03下载
    积分:1
  • lbp实现花朵分类
    使用lbp算法实现花朵图像的特征提取,python实现,使用svm分类器对花朵图相进行分类判别。
    2022-07-08 12:33:18下载
    积分:1
  • Python极客项目编程
    说明:  《Python极客项目编程》里面讲解了一些很好玩的项目。 利用参数方程和turtle模块生成万花尺图案; ● 通过模拟频率泛音在计算机上创作音乐; ● 将图形图像转换为ASCII文本图形; ● 编写一个三维立体画程序,生成隐藏在随机图案下的3D图像; ● 通过探索粒子系统、透明度和广告牌技术,利用OpenGL着色器制作逼真的动画; ● 利用来自CT和MRI扫描的数据实现3D可视化; ● 将计算机连接到Arduino编程,创建响应音乐的激光秀。(Python Geek Programming explains some interesting projects. Using parametric equation and turtle module to generate a kaleidoscope pattern; Create music on computer by analog frequency overtone. Converting graphics and images to ASCII text graphics; Write a three-dimensional drawing program to generate 3D images hidden in random patterns. Through exploring particle system, transparency and billboard technology, using OpenGL shader to produce realistic animation; 3-D visualization using data from CT and MRI scans; Connect the computer to Arduino programming to create a laser show that responds to music)
    2019-06-27 17:25:51下载
    积分:1
  • 利用sklearn下的序回归算法拟合风速和功率的关系
    说明:  利用sklearn下的序回归算法拟合风速和功率的关系。运行之前将pv1.csv路径更改一下。(The relationship between wind speed and power is fitted by the order regression algorithm under sklearn. Change the pv1.csv path before running.)
    2020-05-11 23:41:09下载
    积分:1
  • Image-Steganography-ICS-project--master
    图片隐写算法实现,采用python代码实现。(Picture steganography.)
    2020-06-17 06:40:01下载
    积分:1
  • z
    说明:  文档详细介绍了随机森林和决策树概念应用并附有相关代码,可运行(The document details the conceptual application of Stochastic Forest and decision tree)
    2020-06-22 19:40:02下载
    积分:1
  • unet-master
    用于细胞检测的神经网络代码。 使用Unet进行边缘检测。(Neural network code for cell detection. Unet is used for edge detection.)
    2019-05-20 20:55:02下载
    积分:1
  • 149110
    shows test signal TestDAC1 on pin AUX1 and TestDAC2 on pin AUX2 when the TestDAC1Reg register is programmed with a slope defined by values 00h to 3Fh and the TestDAC2Reg register is programmed with a rectangular signal defined by values 00h and 3Fh.
    2020-06-20 03:20:02下载
    积分:1
  • 图像拼接---去除黑边
    使用python语言实现多张图像的拼接,并且处理拼接之后的裂缝和黑边。(Use python language to achieve splicing of multiple images, and deal with cracks and black edges after splicing.)
    2019-04-02 15:24:23下载
    积分:1
  • Time_Series_Analysis
    ARIMA算法的Python实现,预测时间序列数据。 附两个数据: AirPassengers UK Traffic flow(The Python implementation of the ARIMA algorithm predicts the time series data. Two data are attached. AirPassengers UK Traffic flow)
    2020-10-20 09:17:25下载
    积分:1
  • 696518资源总数
  • 104297会员总数
  • 29今日下载