Python: letter¶
In [26]:
fruit="apple"
In [27]:
for i in fruit:
print(i)
In [28]:
fruit[1]
Out[28]:
In [29]:
fruit[-1]
Out[29]:
fruit="apple"
for i in fruit:
print(i)
a p p l e
fruit[1]
'p'
fruit[-1]
'e'
R:C3 plot Peter Lin 2018-06-02 library (ggplot2) x=c( "vs" , "cyl" , "carb" , "gear" ) for...
沒有留言:
張貼留言