摘要: >>> name=input("input name:") input name:Li ming >>> sex=bool(input("input sex(True,False):")) input sex(True,False):True >>> scale=float(input("input 阅读全文
posted @ 2020-06-07 22:11 abel2020 阅读(109) 评论(0) 推荐(0) 编辑
摘要: >>> name=input("input name:") // " " 里面是提示内容,函数返回输入的内容,赋值给变量 input name:lili >>> sex=input("input sex(True,False):") input sex(True,False):False >>> a 阅读全文
posted @ 2020-06-07 21:32 abel2020 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-06-07 20:39 abel2020 阅读(109) 评论(0) 推荐(0) 编辑
摘要: ''' these are comments my first py prog ''' print("math copute: \n") a=2 b=3 c=a+bd=a**b #### " " 里面原样输出, 多个输出 用 , ############# print("a =",a,", b =" 阅读全文
posted @ 2020-06-07 20:06 abel2020 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-06-07 12:45 abel2020 阅读(102) 评论(0) 推荐(0) 编辑
摘要: //#include "Header.h" #include <stdio.h> #include <stdbool.h> #include <stdlib.h> //exit 函数需要 #include <malloc.h> #define MAXSIZE 20 //队列长度 #define NO 阅读全文
posted @ 2020-06-07 00:19 abel2020 阅读(229) 评论(0) 推荐(0) 编辑