1.
Which of the following data types is supported by Python?
2.
In Python, the random.randrange() function can not return a floating point variable.
3.
Which of the following statements is equivalent to this command in Python: random.randrange(3)
4.
Which of the following statements is equivalent to this command in Python:
random.randint(3, 6)
5.
What is the output of the following Python code:
def sum( * args):
    r = 0
for i in args:
    r += i
return r
print sum.__doc__
print sum(1, 2, 3)
print sum(1, 2, 3, 4, 5)
6.
What is the output of the following Python code:
names1 = ['Amir', 'Bala', 'Chales']

if 'amir' in names1:
    print 1
else :
    print 2
7.
What is the output of the following Python code:
listExample = [‘h’, ’e’, ’l’, ’l’, ’o’]
len(listExample)
8.
What is the output of the following Python code:
list1 = [2445, 133, 12454, 123]
max(list1)
9.
What is the output of the following Python code:
class Parent:
    def __init__(self, name):
    self.name1 = name

class Child(Parent):
    def __init__(self, name):
    self.name2 = name

temp = Child("Vivek")
print "%s %s" % (temp.name1, temp.name2)
10.
What is the output of the following Python code:
for i in range(10, 1, -2):
    i -= 1
print(i)