登录
首页 » python » python 井字棋

python 井字棋

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

  • 自动买莱茨狗程序
    说明 使用前请安装threadpool pip2 install threadpool 如果想使用selenium自动登录,需要安装 pip2 install -U selenium 1.编辑config.ini [Pet-Chain] interval 程序间隔 common 普通品质价格 rare 稀有品质价格 excellence 卓越品质价格 epic 史诗品质价格 mythical 神话品质价格 webdriver firefox/chrome [Login] username 百度用户名 password 百度密码 2.如果不使用selenium,则需要保存headers 打开莱茨狗市场页面,登录
    2022-04-28 07:59:44下载
    积分:1
  • 飞机大战
    小游戏小项目练手源码,图片素材,适合练手。。。(Small game small project training source code, picture material, suitable for hand training....)
    2020-06-25 11:20:01下载
    积分:1
  • 《图解深度学习》+山下隆义+张弥+密码:GCEDM359
    《图解深度学习》是从深度学习的发展历程讲起的,从理论和实践两个方面介绍了深度学习的各种方法,以及深度学习在图像识别等领域的应用案例。内容图文并茂,涉及神经网络、卷积神经网络、受限玻尔兹曼机、自编码器、泛化能力的提高, 并介绍了包括Theano、Pylearn2、Caffe、DIGITS、Chainer 和TensorFlow等深度学习工具的安装和使用方法。书如其名,《图解深度学习》图例非常丰富,清晰直观,适合所有对深度学习感兴趣的读者阅读("Graphic in-depth learning" starts from the development process of in-depth learning. It introduces various methods of in-depth learning from both theoretical and practical aspects, as well as application cases of in-depth learning in image recognition and other fields. The contents are full of pictures and texts, including the improvement of neural network, convolution neural network, restricted Boltzmann machine, self-encoder and generalization ability. The installation and use methods of deep learning tools including Theano, Pylearn2, Caffe, DIGITS, Chainer and TensorFlow are also introduced. As its name implies, the legend of "Graphic in-depth learning" is very rich, clear and intuitive, suitable for all readers interested in in in-depth learning to read.)
    2020-06-25 12:20:02下载
    积分:1
  • pyKriging-master
    说明:  关于代理模型的克里金模型包,其包含普通克里金和协克里金。(Kriging is an invaluable tool in understanding the behavior of sparse data. It has proven effective in many aspects of engineering and in applications where data is "expensive", or difficult, to collect.)
    2020-02-18 17:09:24下载
    积分:1
  • tyhoondata
    利用netcd库 python语言读取nc气象文件(Using Python language of netcd library to read NC meteorological files)
    2019-01-10 12:52:56下载
    积分:1
  • JanErikSolem.ProgrammingComputerVision
    Programming Computer Vision with Python by Jan Erik Solem
    2019-02-06 15:40:06下载
    积分:1
  • non_local
    说明:  自己用python复现的NL-mean去噪,备注比较详细,便于理解原理; 之后会尝试复现更多图像领域的经典论文(The NL-mean reproduced by Python is used to denoise the noise. The notes are detailed and easy to understand the principle. We will try to reproduce more classical papers in the field of image.)
    2020-06-21 00:40:02下载
    积分:1
  • channel_36.873
    3GPP 36.873信道建模,用Python编写(3GPP 36.873 channel modeling, written in Python)
    2018-06-28 22:29:01下载
    积分:1
  • basic
    说明:  python基本使用方法,以例子形式说明了如何基本掌握python使用(the basic using method for python)
    2020-06-21 22:40:01下载
    积分:1
  • 《神经网络与深度学习》code
    说明:  好用好学的Python深度学习资料供分享和下载(Easy to use and learn Python in-depth learning materials for sharing and downloading)
    2020-08-22 21:13:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载