CS61-计算器操作|Python一对一学员答疑贴

简介: 相关内容

你好,我是悦创。


我的一个一对一学员的提问:


Q6: Calculator Ops

Write a regular expression that parses strings written in the 61A Calculator language and returns any expressions which have two numeric operands, leaving out the parentheses around them.


6.png

6.png

答案

7.png

目录
相关文章
|
1天前
|
Python
【Python操作基础】——帮助文档
【Python操作基础】——帮助文档
|
1天前
|
Python
【Python操作基础】——包
【Python操作基础】——包
|
1天前
|
Python
【Python操作基础】——函数
【Python操作基础】——函数
|
1天前
|
Python
【Python操作基础】——字典,迭代器和生成器
【Python操作基础】——字典,迭代器和生成器
|
1天前
|
Python
【Python操作基础】——集合
【Python操作基础】——集合
|
1天前
|
索引 Python
【Python操作基础】——序列
【Python操作基础】——序列
|
1天前
|
Python
【Python操作基础】——字符串
【Python操作基础】——字符串
|
1天前
|
Python
【Python操作基础】——元组
【Python操作基础】——元组
|
1天前
|
Python
【Python操作基础】——列表操作
【Python操作基础】——列表操作
|
1天前
|
Python
【Python操作基础】——while语句用法和pass语句
【Python操作基础】——while语句用法和pass语句