fullstack 全栈式
interpreter 解释器
右键点击显示show diff
shift+F6 显示出代码有何不同
1、设置字体和设置自动生成作者和时间
VIEW——apprearance——toolbars
设置里设置font里Dialoginput,然后apply
自动生成作者和时间为Font template ——python script ——
#_author: ${USER}
#date: ${DATE}
2、字符串格式化输入输出
name = input("your name is")
age = input("your Age is")
job = input("your Job is")
salary = input("your Salary is")
# print(name,age,job,salary)
Msg = ‘‘‘
---- info of %s----
Name: %s
Age;%s
Job:%s
Salary:%s
---- end ----
‘‘‘ %(name,name,age,job,salary)
print(Msg)
3、%d、%s、%f的区别
%d d= digit
isdigit()长得像不像整数;
%s s = string
%f f= flot 浮点数,小数;
原文:https://www.cnblogs.com/66266erlong/p/14251045.html