ramdom_name="alpha"
value=98
print(ramdom_name+str(value))

print((ramdom_name+" ")*3)

title= "Gone with the Wind!"
print(len(title))
print(title[0:4])
print(title[-5:-1])

trail1="what's your favourate food?"
trail1=trail1.replace("food","film")
print(trail1)

trail2="I like you~"
print(trail2.replace("like","love"))

quote='what\'s your name?'
print(quote)

poem="I like you\nto be still"
print(poem)

lyrics="sometimes i feel like an inland ocean"
lyrics+="\ntoo big to be a lake"
lyrics+="\ntoo small to be an attraction"
print(lyrics)

words="""be my lover
my lady \
river"""
print(words)

path=r"A:\notes"
print(path)

myList=["Beco","Sabrina",926,666,1314]
print(myList[0]+" and "+myList[1])
print("Here is a list:"+str(myList))
print(len(myList))
print(myList[-3:-1])
print(myList[-1])
myList.append(520)
print(myList)

relatives=['mom','dad','granny','uncle']
lovers=['Q','Max','Sabrina']
friends=['Vickey','Lillian','Pupu','Lynn']
people=[relatives,lovers,friends]
print(people)
print(len(people[1]))
print(people[0][0])

version=tuple(people)
print(version)

lovers[1]='shit'
print(lovers)
yim666(前端大神) - 2019-04-13 1 人
Python Core 01
wlgm(~库昊~) - 2019-04-12 1 人
echarts-demo
vincent(前端大神) - 2019-04-10 1 人
vue基于原生select标签实现动态多级联动选择
vincent(前端大神) - 2019-04-10 1 人
vue基于element-ui实现的动态多级联动下...
kilomchou(?) - 2019-04-05 1 人
原生 JavaScript 实现扫雷
1024qaz(J.Fla) - 2019-04-02 1 人
移动到的文字会放大
没有了
1/294 下一页