Which of the following is not a type of inheritance?
What will be the output of the following Python code?
x = [[0], [1]]
print(len(' '.join(list(map(str, x))))
What will be the output of the following Python code snippet?
print('{:,}'.format('1112223334'))
What will be the output of the following Python code?
for i in range(0):
print(i)
f = open('workfile', 'w')
what is 'w' in this ?
What will be the output of the following Python code?
x = "abcdef"
i = "a"
while i in x:
print('i', end=" ")
squares = [1, 4, 9, 16, 25]
squares = squares + [36, 49, 64, 81, 100]
print(squares)
What will be the output of the following Python code snippet?
d = {"john":40, "peter":45}
print(list(d.keys()))
What will be the output of the following Python code snippet?
>>> import collections
>>> a = collections.Counter([2, 2, 3, 3, 3, 4])
>>> b = collections.Counter([2, 2, 3, 4, 4])
>>> a | b
fruits = ['orange', 'apple', 'pear', 'banana', 'kiwi', 'apple', 'banana']
fruits.reverse()
print(fruits)
OnSite
1 Openings
FullTime
Posted 17 days ago