06 2019 档案
摘要:Here are the days: Mon Tue Wed Thu Fri Sat SunHere are the monthons: JanFebMarAprMayJunJulAug There 's something going on here.With the three double -
阅读全文
摘要:1 2 3 4'one' 'two' 'three' 'four'True False False True'%r %r %r %r' '%r %r %r %r' '%r %r %r %r' '%r %r %r %r''I had this thing.' 'That you could type
阅读全文
摘要:Mary had a little lamb.Its fleece was white as snow.And everywhere that Mary went...........CheeseBurger 翻译 : 玛丽有只小羊羔。 它的羊毛像雪一样白。 不管玛丽去哪里。 …… 奶酪 汉堡
阅读全文
摘要:字符是指你想要展示给别人的、或者是你想要从程序里“导出”的一小段字符。Python 可以通过 文本里的双引号 " 或者单引号 ' 识别出字符串来。 如果你把单引号或者双引号括起来的文本放到 print 后面,它们就会被 python 打印出来。 字符串可以包含格式化字符 %s,这个你之前也见过的。你
阅读全文
摘要:注意%d %s 一 一对应my_name = 'Zed A.Shaw'my_age = 35 # not a liemy_height = 74 # inchesmy_weight = 180 # lbsmy_eyes = 'Blue'my_teeth = 'White'my_hair = 'Bro
阅读全文
摘要:space_in_a_car 中的 _ 是 下划线(underscore) 字符。你要自己学会怎样打出这个字符来。 这个符号在变量里通常被用作假想的空格,用来隔开单词。 There are 100 cars available.There are only 30 driver available.T
阅读全文
摘要:• + plus 加号 • - minus 减号 • / slash 斜杠 • * asterisk 星号 • % percent 百分号 • < less-than 小于号 • > greater-than 大于号 • <= less-than-equal 小于等于号 • >= greater-t
阅读全文
摘要:#号的使用,注释单行# A comment ,this is so you can read your program later.# Anything aftre the # is ignored by python .print ("I could have code like this.")#
阅读全文
摘要:文件名为ex1.pyprint('hello world')print('hello agin')print('I like typing this')print ("This is fun.")print ('Yay! printing')print ("I'd much rather you '
阅读全文
浙公网安备 33010602011771号