首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
import turtle
t = turtle.Turtle()

t.goto(-100,0)
t.pensize(5) #设置外花边的大小
t.color('red', 'yellow')
t.begin_fill()
for i in range(0, 20):
  t.forward(200)
  t.left(170)
t.end_fill()
t.done()
阅读全部 | 一剑破光阴 贴于 2023年6月17日 12:47     hide bbsi
12A190A1
阅读全部 | adminkkp 贴于 2023年6月9日 17:39     hide bbsi
A19A9AB2
阅读全部 | adminkkp 贴于 2023年6月9日 17:39     hide bbsi
+AA++BB++CC+
阅读全部 | adminkkp 贴于 2023年6月9日 17:39     hide bbsi
|AA||BB||CC|
阅读全部 | adminkkp 贴于 2023年6月9日 17:38     hide bbsi
hello, world..
dwdwdwd
阅读全部 | adminkkp 贴于 2023年6月9日 17:37     hide bbsi
#include <stdio.h>
int main() {

}
阅读全部 | adminkkp 贴于 2023年6月9日 17:31     hide bbsi
#include<iostream>
#include<ctime> //srand(time(0));所需头文件 
#include<cstdlib> //rand()%5+1;所需头文件 cmath
using namespace std;
int main()
{
int t,d,f; //定义整数变量 
srand(time(0));
t=rand()%5+1;
cout<<"请输入一个五以内的数。"<<endl; //提示玩家 
cin>>d;
if(d==t){
......................
阅读全部 | ww2663217271 贴于 2023年5月28日 08:44     hide bbsi
#include <stdio.h>

int main() {
printf("我在编程中国学C语言\n\n");

// 练习一下循环的使用
int i;
for (i=1; i<=20; i++) {
printf("我爱编程中国 %d 次\n", i);
}

printf("\n\n绘制一个心形图案:");
......................
阅读全部 | 雪岩归来 贴于 2023年5月19日 23:25     hide bbsi
#include<stdio.h>
 #include<math.h>
 #include<windows.h>
 #include<time.h>
 #define U 0.1
 #define V 0.053
 void SetColor(unsigned short ForeColor,unsigned short BackGroundColor)
 {
     HANDLE hCon=GetStdHandle(STD_OUTPUT_HANDLE);
     SetConsoleTextAttribute(hCon,(ForeColor%16)|(BackGroundColor%16*16));
 }
 int main()
......................
阅读全部 | ZHURONG2464 贴于 2023年5月10日 15:48     hide bbsi
上一页 11 12 13 14 15 16 17 18 19 20 下一页