Mathematical operations can be performed on a string.
Suppose listExample is [‘h’,’e’,’l’,’l’,’o’], what is len(listExample)?
Which of the following is a standard API used to render 3D graphics?
What is the output of the given code?
a=11
b=4
print(a & b)
print(a | b)
What will be the output of the following Python code?
a=[1,2,3]
b=a.append(4)
print(a)
print(b)
What will be the output of the following Python code snippet?
def example(a):
a = a + '2'
a = a * 2
return a
>>>example("hello")
What is the output of the following Python code?
def to_upper(k):
return k.upper()
x = ['ab', 'cd']
print(list(map(to_upper, x)))
What does the {% include %} tag do?
The following is displayed by a print function call. Select all of the function calls that result in this output.
tom
dick
harry
OnSite
1 Openings
FullTime
Posted 17 days ago