day 1
1.format命令:使用help format找出各种选项,并用format bank 命令上机显示美元币值格式。
2.找出一个能得到如下输出格式的format选项:
day 2
a=rand
b=rand*20
c=rand*(50-20)+20
d=round(rand*10)
e=round(rand*11)
f=round(rand(100-50)+50)
day 1
1.format命令:使用help format找出各种选项,并用format bank 命令上机显示美元币值格式。
2.找出一个能得到如下输出格式的format选项:
day 2
a=rand
b=rand*20
c=rand*(50-20)+20
d=round(rand*10)
e=round(rand*11)
f=round(rand(100-50)+50)