自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 python中format()方法的格式控制

通过槽内部的配置对格式进行控制例:print("{:=^20}".format(a)): 为引导符号= 在此处进行填充,可填充单个字符如= > < * 等等^ 对齐符号 ^为居中对齐,<为左对齐,>为右对齐20 为槽所设定的输出宽度例:2print("{0:,.2f}".format(12345.678))...

2019-08-12 20:18:01 7495

原创 删除链表的偶数节点

#include using namespace std;typedef struct node{int data;struct node *next;}LNode,*LinkList;void InitList(LinkList &L){L=new LNode;L->next=NULL;}void GetList(LinkList &L){int...

2019-09-26 12:32:41 556

原创 python中turtle库基本函数

1.turtle库需要import 作为保留字来进行调用1.import turtleturtlr.circle(半径,角度)2.from turtle import*circle(100,80)3.import turtle as tt.circle(100,80)2.turtle函数:turtle.penup() turtle.pu()将????抬起来turtle.pendow......

2019-09-18 20:21:55 12344 1

转载 输出N^N的个位数字

#DescriptionGiven a positive integer N, you should output the most right digit of N^NInputThe input contains several test cases. The first line of the input is a single integer T which is the numbe...

2019-05-12 11:20:34 337

空空如也

空空如也

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

TA关注的人

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