x = 10
yyyyyyy = 10
______xyz123 = 10
my_name_is = "aviad"
name!
my name is = "aviad"
ThisIsAVariable = 123
m1000 = 1
___ = 10
x = 10
X = 100
x
X
xX
_ =1
__ =2
___ = 3
_
___
x = 10
type(x)
x = "aviad"
type(x)
#"the quick brown fox jumped over the lazy dog".split(' ')
"the quick brown fox jumped over the lazy dog".split()
[1,2,3]
type([1,2,3])
sentence = "the quick brown fox jumped over the lazy dog"
words = sentence.split()
words
len(words)
len(sentence)
len([1,2,3])
[dog, cat, fox]
[]
["hello"]
["hello", 10, 0.5]
len(["hello", 10, 0.5])
len(["hello", 10,0.5])
[1+1+1,10+90, "hello" + " goobye"]
["blue dogs", "green cats"]
["1 2 3"]
stuff =[ [1,2,3], ["a", "b", "c", [1,2,3] ] ]
len(stuff)
words = "oops I did it again".split()
words
words[0]
words[1]
words[2]
words[3]
words[4]
words[5]
sentence
sentence[0]
[1,2,3] + ["a", "b", "c"]
x = [1,2,3]
y = ["a", "b", "c"]
y+x
x+y+x
[ x[0] ] + [y[0]] + [x[1]] + [y[1]]
[x[0], y[0], x[1], y[1] ]
x[0] + x[1]
words = sentence.split(' ')
words
words[2] = "green"
words
" ".join(words)
"".join(words)
" ".join(words)
"@|!".join(words)
",".join(["moshe", "1000", "1/1/2011"])
'moshe,1000,1/1/2011'.split(',')
words
type(words)
type(words[0])
words[0][0]
words[0]