1066: 【06】简易的加法口算程序▅随机数
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:67
Solved:34
Description
电脑随机出两个1~10的整数(包括1和10)。
随机数的种子必须设置为8.
我们输入和,电脑判断对错。
如下正确输出right,如果错误输出wrong
9 + 10 = 19
right
5 + 5 = 8
wrong
注意:算式的操作符两边要有空格,写代码的时候要注意。Input
根据算式给出正确或者错误的数字
Output
right或者wrong
Sample Input Copy
6 + 6 = 12
Sample Output Copy
right
HINT
随机数的种子必须设置成8,否则无法判断代码正确性。
Python专用