41. Which of the following will run without errors?
42. What is the data type of the result of 10 / 2 ?
43. In python we do not specify types, it is directly interpreted by the compiler, so consider the following operation to be performed.
objective is to make sure x has a integer value, select all that apply (python 3.xx)
>>>x = 13 ? 2
objective is to make sure x has a integer value, select all that apply (python 3.xx)
>>>x = 13 ? 2
44. What error occurs when you execute the following Python code snippet?
apple = mango
apple = mango
45. What is the purpose of the complex() function in Python?
46. What is the return type of function id?
47. What is the result of (3 + 4j) * (1 - 2j) ?
48. Which of the following is not a complex number?
49. What will be the output of the following Python code snippet?
def example(a):
a = a + '2'
a = a*2
return a
>>>example("hello")
def example(a):
a = a + '2'
a = a*2
return a
>>>example("hello")