Type1:
This is a reply for a test by typing code format.
Type2:
This is a reply for a test by inserting code.
什么情况
s
[\code]
if input('是否修改用户资料(Yes/No):') == 'Yse':
contacts = input('请输入用户的联系电话:')
复制代码
print('饮茶啦先')
复制代码
RocketTeeth 发表于 2021-5-12 14:38
再试试另外一种方法
我学会贴代码了吗
python 学习中
新人报道
class Turtle:
def __init__(self):
print('kkkkk')
#include<stdio.h>
#include<stdlib.h>
#include <time.h>
void main()
{
srand(time(NULL));
int a = rand() % (50 - 1) + 1;
int c, n = 1;
printf("请输入1-50的随机数:");
scanf_s("%d", &c);
while (1)
{
if (c < 1 || c>50)
{
printf("输入错误,请重新输入:");
scanf_s("%d", &c);
n += 1;
}
else if (c > a)
{
printf("哥,大了大了,请重新输入:");
scanf_s("%d", &c);
n += 1;
}
else if (c < a)
{
printf("格局小啦,请重新输入:");
scanf_s("%d", &c);
n += 1;
}
else
{
printf("答对了,共用了%d次,但是没奖励,哈哈哈",n);
break;
}
}
}
萌新过来偷个经验
emmmm......
[]复制代码[]
我试试
顶
等我到两级了再说
hello world!