登录
首页 » python » python 井字棋

python 井字棋

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

  • xgboost
    xgboost算法源码,含基本示例(训练、建模、预测)。(Xgboost algorithm source code, including the basic examples (training, modeling, forecasting).)
    2021-04-20 11:08:50下载
    积分:1
  • CMAPSS Segmentation
    python code for cmapss segmentation
    2019-02-18 03:29:38下载
    积分:1
  • ABAQUS 中文帮助
    ABAQUS文档是软件开发使用和维护中的必备资料。 软件文档或者源代码文档是指与软件系统及其软件工程过程有关联的文本实体。文档的类型包括软件需求文档,设计文档,测试文档,用户手册等。其中的需求文档,设计文档和测试文档一般是在软件开发过程中由开发者写就的,而用户手册等非过程类文档是由专门的非技术类写作人员写就的。 文档能提高软件开发的效率,保证软件的质量,而且在软件的使用过程中有指导、帮助、解惑的作用,尤其在维护工作中,文档是不可或缺的资料。(The ABAQUS documentation is an essential piece of information for software development use and maintenance. A software document or source code document refers to a text entity associated with a software system and its software engineering process. The types of documents include software requirements documents, design documents, test documents, user manuals, etc. The requirements document, design document and test document are generally written by developers in the process of software development, while non-process documents such as user manuals are written by specialized non-technical writers. Documents can improve the efficiency of software development, ensure the quality of software, and have the role of guidance, help, and ambiguity in the use of software. Especially in the maintenance work, documents are indispensable materials.)
    2018-03-16 15:29:28下载
    积分:1
  • time-series-forecasting-keras-master
    说明:  基于ARIMA模型和LSTM模型,提出一种高性能得时间序列预测算法(Based on ARIMA model and LSTM model, a high performance time series prediction algorithm is proposed.)
    2020-10-20 09:17:25下载
    积分:1
  • 《Python编程》源代码文件
    python编程题库,适合新手学习使用,主要是一些练习题(Python Programming Question Bank, suitable for beginners to learn and use, mainly some exercises)
    2019-03-17 19:58:32下载
    积分:1
  • 林轩田机器学习笔记
    林轩田机器学习笔记
    2020-04-17下载
    积分:1
  • 基于wifi的室内定位代码
    基于wif的室内定位代码,python语言实现。
    2022-07-08 18:23:30下载
    积分:1
  • wxPythonInAction
    wxPythonInAction一书及其源代码,内容详尽(The book of wxPythonInAction,with its original codes,being very well detailed)
    2021-01-28 23:58:35下载
    积分:1
  • knn
    说明:  通过knn分类算法识别魔方的色块颜色,加入是否识别成功判断,成功识别率比阈值法识别更高。有完整的备注(Through the KNN classification algorithm to identify the color block of the cube, the success rate is higher than the threshold method. Code has complete comments)
    2020-06-09 10:45:01下载
    积分:1
  • crbm-drum-patterns-master
    基于鼓模式的受限玻尔兹曼机的音频分类 能够将不同音乐器材所发出的声音进行训练后进行分类(Drum patterns based restricted Boltzmann machine audio classification can be different the sound of musical instruments can be trained to classify)
    2013-06-03 10:12:05下载
    积分:1
  • 696518资源总数
  • 105949会员总数
  • 22今日下载