atwood-pan

 

2021年8月28日

Python Code_06基础篇

摘要: 条件表达式 # coding:utf-8 # author : 写bug的盼盼 # development time : 2021/8/28 7:38 num_a = input('请输入第一个整数') num_b = input('请输入第二个整数') # 比较大小 '''if num_a >= 阅读全文

posted @ 2021-08-28 13:04 JavaCoderPan 阅读(6) 评论(0) 推荐(0) 编辑

Python Code_05位运算

摘要: coding:utf-8 author : 写bug的盼盼 development time : 2021/8/28 7:16 print(4&8)#非1即0 print(4|2)#同0即0,否则相加 print(4<<1)# 向左移动一个位置乘以2 print(4<<2)# 向左移动两个位置乘以2 阅读全文

posted @ 2021-08-28 07:21 JavaCoderPan 阅读(1) 评论(0) 推荐(0) 编辑

Python Code_04InputFunction

摘要: 代码部分 # coding:utf-8 # author : 写bug的盼盼 # development time : 2021/8/28 6:55 present = input('你想要什么?') print(present,type(present)) demo两数相加add # 输入两个数字 阅读全文

posted @ 2021-08-28 07:11 JavaCoderPan 阅读(1) 评论(0) 推荐(0) 编辑

导航