我正在做一项练习,只是似乎不知道我做错了什么。这里有一个最初的问题/练习:这个程序应该从2015年开始每五年显示一次,也就是说,2015年,2020年,2025年,等等,30年。基本上,在Python中,我需要构建一个从2015年到2045年每五年显示一次的程序。print 'The End'
year = input('')
运行
嘿,伙计们,我发现下面的代码不能正确编译了。我是个新手,所以我提前为我糟糕的格式道歉。
There are seven rounds in the game. Each round, the value of the players’ cards for
that particular round are compared to see who has the highest v
基本上,我要做的就是从一组数字中取第三位和第四位数字:num_set = (28,54,79,37,2,9,0)# Division of third and fourth digitsdiv_num = ((num_set[2,3]))ans = (divmod(div_num))
print("the answer for 79 divide by 37 is&