文件名称:pythonexplain
介绍说明--下载内容均来自于网络,请自行研究使用
Python 简单解释器,(1) 每行为单独的语句,不需要支持语句换行;
(2) 支持整数类型数据的四则运算(+, ‐, *, /)及变量赋值,不需要支持长整型或其他数据类型以及其他数据类型的运算;
(3) 支持简单的if 语句(只需支持if 和else 关键词)和while 语句(只需支持while 和break 关键词),且只需要支持单
一判断条件,不需要支持嵌套的if、嵌套的while 语句,不需要支持多个逻辑表达式的布尔运算(and/or/not);
(4) 支持简单的print 语句,用以打印整数和简单的字符串(以双引号给出且不换行,不需要支持字符串的格式化输
出);-Simple Python interpreter (1) Every behavior is a separate statement, you do not need to support the statement wrap (2) support the integer type data of the four operations (+,-,*, /) and variable assignment, you do not need to support long integer or other data types, and other data types of operations (3) to support simple if statement (only if and else keywords) and while statements (simply supported while and break keyword), and the need to support only a single judgment conditions, not need to support nested if nested while statement, you do not need to support multiple logical expressions Boolean operators (and/or/not) (4) support a simple print statement to print an integer and simple character string (in double quotes are given without wrapping, do not need to support a string of formatted output)
(2) 支持整数类型数据的四则运算(+, ‐, *, /)及变量赋值,不需要支持长整型或其他数据类型以及其他数据类型的运算;
(3) 支持简单的if 语句(只需支持if 和else 关键词)和while 语句(只需支持while 和break 关键词),且只需要支持单
一判断条件,不需要支持嵌套的if、嵌套的while 语句,不需要支持多个逻辑表达式的布尔运算(and/or/not);
(4) 支持简单的print 语句,用以打印整数和简单的字符串(以双引号给出且不换行,不需要支持字符串的格式化输
出);-Simple Python interpreter (1) Every behavior is a separate statement, you do not need to support the statement wrap (2) support the integer type data of the four operations (+,-,*, /) and variable assignment, you do not need to support long integer or other data types, and other data types of operations (3) to support simple if statement (only if and else keywords) and while statements (simply supported while and break keyword), and the need to support only a single judgment conditions, not need to support nested if nested while statement, you do not need to support multiple logical expressions Boolean operators (and/or/not) (4) support a simple print statement to print an integer and simple character string (in double quotes are given without wrapping, do not need to support a string of formatted output)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
python解释器\oop_大作业—2011011239—王庆\calc.cpp
............\............................\calc.h
............\............................\expr_eval.cpp
............\............................\expr_eval.h
............\............................\lib.h
............\............................\main.cpp
............\............................\Makefile
............\............................\parse.cpp
............\............................\parse.h
............\............................\part_base.h
............\............................\variable.cpp
............\............................\variable.h
............\大作业说明文档.docx
............\oop_大作业—2011011239—王庆
python解释器