|
|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
- python ok -q python-basics -u --local
- =====================================================================
- Assignment: Lab 0
- OK, version v1.18.1
- =====================================================================
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Unlocking tests
- At each "? ", type what you would expect the output to be.
- Type exit() to quit
- ---------------------------------------------------------------------
- Python Basics > Suite 1 > Case 1
- (cases remaining: 1)
- What would Python display? If you get stuck, try it out in the Python
- interpreter!
- >>> x = 20
- >>> x + 2
- ? 22
- -- OK! --
- >>> x
- ? 20
- -- OK! --
- >>> y = 5
- >>> y = y + 3
- >>> y * 2
- ? 16
- -- OK! --
- >>> y + x
- ? 28
- -- OK! --
- ---------------------------------------------------------------------
- OK! All cases for Python Basics unlocked.
- Cannot backup when running ok with --local.
- D:\lab00>
复制代码 |
|