原文:CS61A Lab 1: Variables & Functions, Control

快速回顾 . 命令行运行python python foo.py,运行文件 python i foo.py,运行python脚本,并打开一个交互式会话 python m doctest foo.py,运行doctest . 命令行运行ok python ok q lt specified function gt , 运行指定函数 python ok v, 模式不显示已通过的样例, v可以全部显示 ...

2021-05-25 23:02 0 1418 推荐指数:

查看详情

[2021-Fall] Lab07 of CS61A of UCB

Accounts Q2: Retirement Add a time_to_retire method to the Account class. This method takes i ...

Fri Feb 25 00:09:00 CST 2022 0 675
[2021-Fall] Lab10 of CS61A of UCB

Q2: Over or Under Define a procedure over-or-under which takes in a number num1 and a number num ...

Sun Feb 27 20:52:00 CST 2022 3 1018
[2021 spring] CS61A Lab 11: Interpreters

Lab 11: https://inst.eecs.berkeley.edu/~cs61a/sp21/lab/lab11/ 任务: 构建PyCombinator解释器,完成expr.py 目录 Q1:序言 Q2: Evaluating Names Q3 ...

Sat Jul 24 07:49:00 CST 2021 0 221
[2021 spring] CS61A Lab 10 : Scheme

Lab10: https://inst.eecs.berkeley.edu/~cs61a/sp21/lab/lab10/ 基本语法: https://www.cnblogs.com/ikventure/p/15033731.html 内置procedure: https ...

Tue Jul 20 23:17:00 CST 2021 0 204
 
粤ICP备18138465号  © 2018-2026 CODEPRJ.COM