英语学习笔记2019-10-25

We should try to know more about the dynamics of the computer industry so that we can choose a better direction to go according to our actual conditions. The more we know, the better we will be. In recent years, Python has been more and more popular with the rise of big data, artificial intelligence and cloud computing, so it's necessary to know more about Python.

I. Python Learning Directions

  1. Python – Data Structure & Algorithm (internal strength)
  2. Python – Web Development (Django, Flask, Tornado...)
  3. Python – Crawler (requests, BeautifulSoup, XPath, pandas...)
  4. Python – Hacker Technology
  5. Python – Data Analysis – Data Mining -- KDD: Knowledge Discovery in Database
  6. Python – AI (Artificial Intelligence) – Machine Learning – Deep Learning (TensorFlow, PyTorch, Keras, ….)

https://runestone.academy/runestone/books/published/pythonds/index.html

Here I recommend an online Python editor to you.

You can access the website on your PC or smartphone.

http://www.dooccn.com/python3/

In-class Exercise: Write a Python program to evaluate the sum of 1, 2, 3, ...., and 100.

II. Local Python Development Environment

Last time we installed Anaconda 3 on the computer.

Now let's take a look at the start menu for Anaconda 3.

1. Anaconda Prompt

Let’s start Anaconda Prompt and we will see a window like this:

(1) Start Python

Type "python" after the Anaconda prompt > and then press Enter to enter the Python environment.

Now we can type a Python statement to print a message on the screen.

Type print("Welcome to Python World~") after the >>> prompt and Press Enter to execute the statement.

print() function is used to output some data on the screen.

Now let me demonstrate how to do addition by writing several Python statements.

No. 1 statement: assign 100 to the varible a, then a must be an int variable

No.2 statement: assign 200 to the variable b, then b must b an int variable

No.3 statement: assign the sum of a and b to the variable sum, then sum must be an int variable

No.4 statement: output the result by calling the print() function

No.1 and No.2 statements belong to the input part;

No. 3 statement belongs to the processing part;

No. 4 statement belongs to the output part.

We can use the type() function to get the type of a variable or an expression.

The result of an int data plus a float data will be of float type.

Can addition be performed on an int data and a str data?

There are several ways to solve the problem.

Method 1.  use the conversion function str()

Method 2.  use the type specifier %d to output int data

Method 3. use the format() function to output data in a specified format

英语学习笔记2019-10-25相关推荐

  1. 英语学习笔记2019-10-11

    英语学习笔记2019-10-11 Last time we talked about two methods in management: 1. SWOT; 2. 5W2H We have to co ...

  2. 英语学习笔记部分汇总——wsdchong

    英语学习笔记部分汇总 回顾一下以前做的笔记. 英语单词记忆以及句式记忆 四级考试技巧 内容有三:英语四级准备.英语思维.范文 英语思维是我听网易云课堂的课的笔记:英语思维养成 文章目录 英语学习笔记部 ...

  3. 英语学习笔记2019-12-06

    英语学习笔记2019-12-06 At the beginning of this term, we talked about the talent show which would be carri ...

  4. 英语学习笔记2019-11-22

    英语学习笔记2019-11-22 Review the composition of a computer system 1. Hardware Control Unit -- instruction ...

  5. 英语学习笔记2019-9-29

    英语学习笔记2019-9-29 Computer Application Technology Specialty (1) Network Management (2) Web Application ...

  6. 英语学习笔记2019-9-27

    英语学习笔记2019-9-27 attend -- attendance Attendance must be examined for a class, otherwise students are ...

  7. 【双评价学习笔记2019】农业生产适宜性评价01·土地资源评价

    QQ交流群:607330463 GIS开发技术最强交流群   未经允许 禁止转载  可以参考 文章是转载了一位大佬的,欢迎关注他的公众号:https://zhuanlan.zhihu.com/p/78 ...

  8. C# 学习笔记(10)加速球

    C# 学习笔记(10)加速球 利用窗体透明和GIF透明背景,实现加速球类似效果(QQ宠物,老年人大概也知道) 本文参考C#仿PS异形启动界面设计https://www.bilibili.com/vid ...

  9. Java程序猿的JavaScript学习笔记(10—— jQuery-在“类”层面扩展)

    计划按例如以下顺序完毕这篇笔记: Java程序猿的JavaScript学习笔记(1--理念) Java程序猿的JavaScript学习笔记(2--属性复制和继承) Java程序猿的JavaScript ...

  10. Flutter学习笔记(10)--容器组件、图片组件

    如需转载,请注明出处:Flutter学习笔记(10)--容器组件.图片组件 上一篇Flutter学习笔记(9)--组件Widget我们说到了在Flutter中一个非常重要的理念"一切皆为组件 ...

最新文章

  1. vs2008 ActiveX控件测试容器的生成以及调试ActiveX控件
  2. 77底盒和86底盒的区别_86型开关底盒的具体参数
  3. 截取字符串指定内容,并用*号代替
  4. 关于寻路算法的一些思考(2):Heuristics 函数
  5. Shiro——RememberMe
  6. 网站生成静态页面,及网站数据采集的攻、防原理和策略
  7. vue mianjs 引用css_7个有用的Vue开发技巧
  8. 你的计算机无法启动一键还原,电脑一开机就进入dos之家的一键还原硬盘版,无法进入系统...
  9. Session管理之超时设置和强制下线
  10. 一.mtk平台的gpio控制
  11. Java中类与对象编程题
  12. 嵌入式Linux系统镜像制作(基于SD卡)
  13. Linux性能分析工具总结
  14. 2022年3月盗取微软源代码的 APT组织 lapsus$完整资料汇总
  15. 分享面经与面试资料-四面阿里终于如愿拿到P7级offer【Java岗】
  16. 宅基地信息管理系统、审批监管平台
  17. CSDN《IT人才成长路线图》重磅开源!60+专家,13个技术领域,绘出35张图谱
  18. 2016广东工业大学第一次月赛补题
  19. 信息安全与技术期末复习
  20. SystemUI之ScreenShot

热门文章

  1. 【华为云技术分享】如何设计高质量软件-领域驱动设计DDD(Domain-Driven Design)学习心得
  2. HBase 基本入门篇
  3. 数字化时代,规模不再是优势
  4. DevOps组织如何选取拓扑结构以提升协作效能
  5. 计算机组成与设计英文版在线,计算机组成与设计(硬件软件接口英文版原书第5版RISC-V版)/经典原版书库...
  6. Android笔记 几条笔记(未实验)
  7. python下路径问题及模型存储
  8. 关于卸载Python第三方包的粗暴方法
  9. 解析几何复习(一)向量代数
  10. CSDN博客如何复制别人的文章到自己的博客(很详细,看着图片傻瓜式操作)