input用户交互函数使用input函数需要用户键盘输入变量,多种表达方式注意在python中“”与‘’是没区别的,所见即所得,未加“”表示引用变量,在shell“”会进行转义name=input("yourname:")print(input("yourname:"))yourname:dwl常用占位符%d整数%f浮点数%s字符串%x十六进制整数使用方法:tpl="iam%s"%"alex"##
                            
                            
                                分类:
编程语言   时间:
2020-08-13 22:10:52   
                                阅读次数:
103
                             
                         
                    
                        
                            
                            
                                
                    ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use n ...
                            
                            
                                分类:
其他好文   时间:
2020-08-13 12:42:41   
                                阅读次数:
61
                             
                         
                    
                        
                            
                            
                                
                    This example shows how to implement the HARQ Indicator (HI) and physical HI channel (PHICH). You create the processing chain of coding hybrid indicato ...
                            
                            
                                分类:
其他好文   时间:
2020-08-13 12:11:36   
                                阅读次数:
61
                             
                         
                    
                        
                            
                            
                                
                    新建一个空的文件夹作为项目的目录,并在目录下执行 yarn create umi 或者 npm create umi 如果不创建空目录,可以执行 yarn create umi appname 或者 npm create umi appname 选择ant design pro Select the ...
                            
                            
                                分类:
其他好文   时间:
2020-08-12 15:54:48   
                                阅读次数:
78
                             
                         
                    
                        
                            
                            
                                
                    This is an in-detail account of the Raspberry Pi boot process collected from various sources, mainly from the official forums. First, you need to know ...
                            
                            
                                分类:
Web程序   时间:
2020-08-12 15:43:48   
                                阅读次数:
87
                             
                         
                    
                        
                            
                            
                                public class MinStack { /** initialize your data structure here. */ Stack<Integer> stack = new Stack<>(); private int min = Integer.MIN_VALUE; List<In ...
                            
                            
                                分类:
其他好文   时间:
2020-08-10 22:08:46   
                                阅读次数:
86
                             
                         
                    
                        
                            
                            
                                
                    Yes, even though they probably certainly know that you probabaly wouldn't, they don't certainly know that although you probably wouldn't, there's no p ...
                            
                            
                                分类:
其他好文   时间:
2020-08-10 19:47:20   
                                阅读次数:
112
                             
                         
                    
                        
                            
                            
                                WindowManager显示负坐标,需要设置LayoutParamsflag为FLAG_LAYOUT_NO_LIMITSLayoutParamstype为2007以上PopupWindow也是设置WindowManager的,查看了内部代码,.要设置flag为FLAG_LAYOUT_NO_LIMITS,则需要在setContentView之前设置thissetClippingEnabled(fa
                            
                            
                         
                    
                        
                            
                            
                                
                    断言:用于判断接口请求是否成功! 最少两个: 状态断言:200 业务断言:可以有多个。 //状态断言: //断言状态码为200 pm.test("Status code is 200", function () { pm.response.to.have.status(200); }); //业务断 ...
                            
                            
                                分类:
其他好文   时间:
2020-08-10 11:04:20   
                                阅读次数:
68
                             
                         
                    
                        
                            
                            
                                链接:https://leetcode-cn.com/problems/lru-cache/ 代码 /* * @lc app=leetcode.cn id=146 lang=cpp * * [146] LRU缓存机制 */ // @lc code=start class LRUCache { pub ...
                            
                            
                                分类:
其他好文   时间:
2020-08-08 17:39:19   
                                阅读次数:
63