语言高一的时候学过VB,接触过HTML(也就是复制粘贴和一些小的修改),英语的基础也就跟语言一样语言高一的时候学过VB,接触过HTML(也就是复制粘贴和一些小的修改),英语的基础也就跟语言一样的基础。很多生词不知。你们学这个都用来干嘛?我是要做一个网站。好像做个网站还得会数据库什么的,我就先把这个语言学学,现在一点脉络都不清楚。
第100-1天 5.22 下载
去官网下载了Python 2.7.5 Windows X86-64 Installe 并安装
还不清楚怎么用
第100-2天 5.23 外出
早上有一个电台项目要在贴吧推广。其余时间外出陪朋友面试并在黄浦江走了一圈,第一次在上海坐了船。放松的心情,为后边学习创造良好状态。后边每周都会给自己一个散心的时间。
第100-3天 5.24 Chapter 1. The way of the program -1.1 Page.2
由于昨晚看了中国最强音,8:40才睡。节目太烂了,浪费了我时间,还影响了我心情。今天4点半样子估计醒了,6点左右起来。接近7点,看完前言和目录。8点11看完1.1。...bab.
管它呢,反正书上目前是这么说的。P2:
Python is considered an interpreted language because管它呢,反正书上目前是这么说的。P2:
Python is considered an interpreted language because Python programs are executed by an interpreter....老袁
Python is considered an interpreted language because Python programs are executed by an interpreter.这句话的意思是说,Python是一门解释性语言,原因是:它是由一个解释器执行的。
这个题目的意思是说请编写一个函数do_n,这个函数有两个参数,一个参数是一个函数名,一个参如是这个题目的意思是说请编写一个函数do_n,这个函数有两个参数,一个参数是一个函数名,一个参如是次数N,当它执行的时候,这个函数(指的是参数1)将被执行N次。如下:
def test():
global gi
print (str(gi) + ':test')
def do_n(fun,n):
for i in range(0,n):
exec(fun+'()')
global gi
gi += 1
gi =1
do_n('test',10)...jerry
2.2 Variables
WHY ????????????/
>>> zipcode = 02492
^
SyntaxError: invalid t2.2 Variables
WHY ????????????/
>>> zipcode = 02492
^
SyntaxError: invalid token
Other numbers seem to work, but the results are bizarre:
>>> zipcode = 02132
>>> zipcode
1114
Can you figure out what is going on? Hint: display the values 01, 010, 0100 and 01000....生梦