IDLE familiar with online programming and experimental design platform report

Anhui Polytechnic University Python design program test report

Class stream 191  Name any natural science No. 3190505 114    

Date 2020.3. 4  instructor repair buildings

 

Experiment name     Experiment a familiar IDLE and online programming platform

Purpose  

1. master the installation and use of python IDLE integrated development environment

2. familiar with online programming platform

3. grasp the basic python programming, compile and run the program

 

Content Experiments

1, in accordance with the experimental installation guide IDLE, try to run python interactive and batch programs run python program in two ways.

Chapter 2 rows textbook temperature conversion sample program. During operation

(1) observed syntax highlighting and automatic indentation.

(2) (emphasis) human error correction procedures are in accordance with the following conditions, try to run the program, and observations were recorded error IDLE given to find information through the network finish analyzing the wrong meaning.

a) modify the indentation of a row is three spaces

b) the key words to elif elfi, or the wrong print prinnt

c) one of the quotes "" was changed to Chinese references ""

d) a row of the colon is removed

e) a row of the English parentheses () is rewritten as Chinese parentheses ()

f) to a row in parentheses () becomes a removed ( 

3, try python123 online programming function;

https://www.python123.io/

 

Experiment recording and analysis

(Note record the experimental processes, procedures and results. The experimental results were necessary analysis)

 

 

Writing process smoothly, the process requires careful, careful comparison, the middle occurs once the error, did not save the screenshot, after running the program will prompt an error, or a good correction. 

a) modify the indentation of a row is three spaces

  An error occurred

 

 

b) the key words to elif elfi, print or print wrong

 An error occurred

 

 

c) one of the quotes "" was changed to Chinese references ""

 An error occurred

 

 

d) a row of the colon is removed

 An error occurred

 

 

e) a row of the English parentheses () is rewritten as Chinese parentheses ()

 An error occurred

 

 

f) to a row in parentheses () becomes a removed ( 

 

 

 An error occurred

 

 

expand:

 Find a small python program that interests you through the network, or community program or project

 

Guess you like

Origin www.cnblogs.com/1234i/p/12410425.html