首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看Python
#include <stdio.h>

int main()
{
    int price=0;
    
    printf("请输入金额(元)");
    scanf("%d",&price);
    
    int change=100-price;
    
    printf("找您%d元\n",change);
......................
阅读全部 | 王宇577 贴于 2022年5月24日 16:32     hide bbsi
!DOCTYPE html>
<head>
    <title></title>
    <link rel="stylesheet" href="css/index.css">
</head>
<body>
    <div class="home">
        <div class="content">
            <div class="stars"></div>
            <img class="bgc" src="https://img.lccyj.ltd/img/tongnian.JPG" width="100%" alt="">
            <h3 class="title">欢迎来到我的个人网站</h3>
            <h3 class="titles">我时常回到童年,用一片童心思考问题,很多烦恼的问题就变得易解。</h3>
......................
阅读全部 | ゐ丶僷ヂ諾 贴于 2022年5月22日 13:29     hide bbsi
!DOCTYPE html>
<head>
    <title></title>
    <link rel="stylesheet" href="css/index.css">
</head>
<body>
    <div class="home">
        <div class="content">
            <div class="stars"></div>
            <img class="bgc" src="https://img.lccyj.ltd/img/tongnian.JPG" width="100%" alt="">
            <h3 class="title">欢迎来到我的个人网站</h3>
            <h3 class="titles">我时常回到童年,用一片童心思考问题,很多烦恼的问题就变得易解。</h3>
......................
阅读全部 | 想你了66 贴于 2022年5月22日 00:14     hide bbsi
# 绘制填充图形
import turtle
turtle.speed(10)
turtle.pensize(3)
turtle.penup()
turtle.goto(-200,-50)
turtle.pendown()
turtle.begin_fill()
turtle.color("red")
turtle.circle(40,steps=3)
turtle.end_fill()

......................
阅读全部 | h332232368 贴于 2022年5月13日 10:49     hide bbsi
#输入
p=float(input(“单价”))
n=int(input(“数量”))
s=p*n 
print(“...”,s)
阅读全部 | 小米辣 贴于 2022年5月11日 13:48     hide bbsi
def recursion(n):
    result = n 
    for i in range(1,n):
        result *= i 
    return result
number = int(input('请输入一个整数'))
result = recursion(number)
print("%d的阶乘是:%d"%(number,result))
阅读全部 | 小呆阳 贴于 2022年5月9日 17:35     hide bbsi
def recursion(n):
    result = n 
    for i in range(1,n):
        result *= i 
    return result
number = int(input('请输入一个整数'))
result = recursion(number)
print("%d的阶乘是:%d"%(number,result))
阅读全部 | 小呆阳 贴于 2022年5月9日 17:35     hide bbsi
import numpy as np
from pyecharts.charts import Bar
from pyecharts import options as opts
from pyecharts.globals import ThemeType

# 生成数据
years = [2011, 2012, 2013, 2014, 2015]
y1 = [1, 3, 5, 7, 9]
y2 = [2, 4, 6, 4, 2]
y3 = [9, 7, 5, 3, 1]
y4 = list(np.random.randint(1, 10, 10))

......................
阅读全部 | zzl525 贴于 2022年5月7日 16:01     hide bbsi
import numpy as np
from pyecharts.charts import Bar
from pyecharts import options as opts
from pyecharts.globals import ThemeType

# 生成数据
years = [2011, 2012, 2013, 2014, 2015]
y1 = [1, 3, 5, 7, 9]
y2 = [2, 4, 6, 4, 2]
y3 = [9, 7, 5, 3, 1]
y4 = list(np.random.randint(1, 10, 10))

......................
阅读全部 | zzl525 贴于 2022年5月7日 16:01     hide bbsi
num=int(input("请输入一个整数:"))
if num%2==0:
    print("even\n"*8)
else:
    print("odd\n"*8)
阅读全部 | 小呆阳 贴于 2022年4月25日 17:31     hide bbsi
上一页 5 6 7 8 9 10 11 12 13 14 下一页