腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(39)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
4
回答
将用户输入与随机选择的列表项进行比较- Python
randint WEAPON = ["Rock", "Paper", "Scissors"] def onePlayer(): print("Player:",
scoreP
,"\nComputer:",scoreC) elif player == 1:\n")
浏览 33
提问于2016-07-28
得票数 2
2
回答
操作数组以传递给不同的方法,然后类
--- other code irrelavent to question --- { return new int[4]; } public s
浏览 10
修改于2015-12-08
得票数 0
1
回答
我如何循环这个骰子游戏,让它玩五轮?(Python GCSE)
scorep
2 + 10 print("You rolled an even
scorep
2 + 10 print("You rolled an even
scorep
2 + 10
浏览 2
提问于2018-11-28
得票数 0
1
回答
利用scala获取网球比赛状态
>
scoreP
2 && (1 <= (wins.length) ) && ((wins.length) < 3)) { } else if (
scoreP
2 >
scoreP
1.concat("
浏览 0
修改于2022-01-22
得票数 1
2
回答
这是否正确地写入到文本文件?
String[] params) throws IOException numberPlayers(); int[]
scorep
1= scorearrayp1(); sort(
scorep
1); writer.println("Player 2 score: "
浏览 1
修改于2015-12-06
得票数 0
5
回答
Python摇滚剪刀虫我不明白
(我在用朱庇特做蟒蛇)
scoreP
2 = 0while game !
scoreP
1+=1 print("Score player 2:",
scoreP
2) print("Sc
浏览 10
提问于2021-08-04
得票数 0
回答已采纳
1
回答
如何更改类中变量的值[Python]
我想添加一个更新self.
ScoreP
变量的值的函数 self.ScorePWidth, self.ScorePHeight = self.scoreFont.size(str(self.
ScoreP
, self.ScorePHeight]) scorePRender =
浏览 5
修改于2018-08-23
得票数 0
回答已采纳
1
回答
如何将我的计算数据排成一行,而不是放在彼此下面
= player1Dice1 + player1Dice2; document.write(p2d2); document.write</div>"); else if (
scoreP
2 &
浏览 0
提问于2014-11-03
得票数 0
回答已采纳
1
回答
尝试增加分数时获取NaN
getStuff(){} var
scorep
; document.getElementById("scorez").innerHTML = "You have found me: " +
scorep
浏览 16
修改于2020-02-10
得票数 1
回答已采纳
1
回答
我已经为我的骰子游戏添加了太多的变量
if (round2
scoreP
1 % 2) == 0 + (round1
scoreP
1 % 2) == 0:elif (round1
scoreP
1 % 2) != 0 + (round2
scoreP
1 % 2) !% 2) == 0 + (round2
scoreP
1 % 2) != 0 + (round2
scoreP
1 % 2) ==
浏览 1
修改于2020-12-08
得票数 0
2
回答
如何在if else函数中使用image.src递增计数器?
lancer'); document.getElementById('imageP2')]; var
scoreP
2 = document.getElementById('
scoreP
2'); var ciseauximages[0
浏览 0
修改于2019-08-08
得票数 1
3
回答
编译器给我一个“无法达到的状态”错误
return playerwhat;然后,我尝试使用以下代码返回的布尔值: diceroll = dicethrow(diceroll); }
浏览 6
提问于2015-12-01
得票数 2
回答已采纳
1
回答
pytest只在文件中运行第一个测试。
capsys.readouterr()这是代码: def __init__(self): self.
scorep
2 = "Love" def result(self): print(self.
scorep
1, ":", self.<em
浏览 1
提问于2020-11-13
得票数 0
回答已采纳
0
回答
将新数据加载/更新到网页并使用Knockout动态更新UI
Knockout/knockout-3.4.2.js'></script> <p>Score P2 = <span data-bind="text:
scoreP
2&q
浏览 3
提问于2017-06-04
得票数 0
2
回答
可以在程序中创建fileIO吗?
) throws IOException numberPlayers(); int[]
scorep
1= scorearrayp1(); sort(
scorep
1); { so
浏览 0
修改于2015-12-05
得票数 0
1
回答
MySQL -从一个表中选择in存储在另一个表中的多行
-+ +----+-----------+-----------+---------+---------++----+-----------+-----------+---------+---------+ | 1 | 1 | 2 |
浏览 0
修改于2014-10-08
得票数 1
回答已采纳
2
回答
发出与已排序的整数列表匹配的数组
以此方法为例:{ for (int i = 0; i < 4; i++){ } System.exit(0);
浏览 1
提问于2015-12-05
得票数 0
1
回答
Facebook与其他模块:或者,为什么有Java代码差异?
getscore()">Test</button> var score = 1; ++score; <script> btn.onclick = function(){
scorep
.inne
浏览 6
提问于2014-05-14
得票数 0
1
回答
基于光子统一回合的多人游戏
Text player1Name,player2Name; int
scoreP
1= 0,
scoreP
2 = 0; public Button p1Btn, p2Btn; p1Btn.gameObject.SetActive(true);
浏览 2
修改于2018-01-30
得票数 0
3
回答
Automake:如何将命令前缀到编译器命令
为了使用该软件,将
scorep
命令作为编译器(即mpicc )的前缀。我用的是自动驾驶。到目前为止,在configure.ac我有AC_PROG_CC([mpicc])。如何将
scorep
命令前缀为自动编译命令? MPICC = mpicc到MPICC = $(PREP) mpiccmake PREP="<em
浏览 8
修改于2017-05-02
得票数 2
第 2 页
领券