自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 LaTeX:修改bib参考文献文件

LaTeX爱思唯尔-参考文献。

2022-07-18 10:34:06 1901

原创 ValueError: threshold must be numeric and non-NAN, try sys.maxsize for untruncated representation #1

问题描述:ValueError: threshold must be numeric and non-NAN, try sys.maxsize for untruncated representation #12987 解决方案: 找到出问题的位置 输入代码 import sys 把 np.set_printoptions(threshold=np.nan) 改为: np.set_printoptions(threshold=np.maxsize) ...

2020-09-07 11:28:30 514

原创 Python第四课

#append 在列表末尾添加新的元素 ist1 = [1,2,3,4,5] list1.append(6) print(list1) #输出 [1,2,3,4,5,6] list1.append([7,8,9]) print(list1) #输出 [1,2,3,4,5,6,[7,8,9]] #在末尾一次性追加另一个列表中的多个值 list2 = [1,2,3,4,5] lis...

2019-07-13 18:28:21 195

原创 Python第三课

While 循环语句 #while 语句: #格式: #while 表达式:: 语句 #逻辑:当程序执行到while语句时,首先计算“表达式” #的值,如果“表达式”的值为假,那么结束整个while语句。 #如果“表达式”的值为真,则执行“语句”,执行完语句, #再去计算表达式的值。如果表达式的值为假,那么结束整个 #while语句。 num = int(input("请输入你的数字")) whi...

2019-07-09 18:44:31 149

原创 Python第二课

String 字符串 创建字符串 str1 = "zqy is a good man" str2 = "zqy is a nice men" str3 = "zqy is a handsome man" 2.#字符串运算#字符串连续 str4 = "zqy is a " str5 = "good man" str6 = str4 + str5 print("str7 =",str6) pri...

2019-07-09 18:42:27 238

原创 Python第一课

数字类型 #导入一个库:封装一些功能 #math :数学相关的库 import math import random f1 = 1.1 f2 = 2.2 print(f1 + f2) print(int(1.9)) print(float(1)) print(int("+123")) print(int("-123")) #abs()取绝对值 a1 = -10 print(abs(a1)) ...

2019-07-07 16:47:58 321

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除