0
What does len() mean in python, and what is the difference between raw_input and input?
len(string)
example:
list1, list2 = [12, 'mindstick', 'software'], [54, 'prakash']
print "First list length : ", len(list1)
print "Second list length : ", len(list2)
// Length of below string is 9.
string = "mindstick"
print(len(string))
name = raw_input("What is your name? ")
print "mindstick, %s" %namename = input("What is your name? ")
print("mindstick, %s." %name)name = eval(raw_input("what is your name?"))
what is your name?mindstick