- 博客(3)
- 收藏
- 关注
原创 贪吃蛇C++
#include<iostream> #include<conio.h> #include <limits.h> //声明INT_MAX和ULONG_MAX常量 #include <windows.h> //声明GetTickCount()函数,其返回从开机到现在经过的毫秒数 #include <stdlib.h> //声明rand和srand函数 #include <time.h> //声明time函数 usi...
2022-03-01 18:40:17
518
原创 python画柱状图
import matplotlib.pyplot as plt # 这两行代码解决 plt 中文显示的问题 plt.rcParams['font.sans-serif'] = ['SimHei'] plt.rcParams['axes.unicode_minus'] = False waters = ('伊朗', '阿联酋', '阿曼', '卡塔尔', '日本', '澳大利亚') buy_number = [3, 4, 5, 5, 6, 6] for a, b in zip(waters, buy_num.
2022-02-16 14:23:18
862
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人