Question
Consider the following Python code: list_a = [1,
2, 3] tuple_b = (4, 5) string_c = "hello" dict_d = {"key1": 1, "key2": 2} print(len(list_a) + len(tuple_b) + len(string_c) + len(dict_d)) What will be the output of this code?Solution
Correct Answer: C (len(list_a)=3, len(tuple_b)=2, len(string_c)=5, len(dict_d)=2. Sum = 3+2+5+2 = 12.)
Find the missing number in the given number series.
98, 89, 114, 50, 194, ?
0, 6, 24, ?, 120, 210
40   41    37   46    ?      55    19
...What will come in place of the question mark (?) in the following series?
4, 8, 24, ?, 480, 2880
140, 146, 158, 176, ?, 230
8, 15, 44, 175, 874, ?
In each of the following number series, one term is missing. Find the missing term.
7, 14, 28, 56, 112, ?
What will come in place of the question mark (?) in the following series?
92, 153, 220, ?, 364, 443
1500 Â Â Â 150Â Â Â 30Â Â Â ? Â Â Â Â 3.6Â Â Â Â 1.8
64, 32, 48, 120, 420, ?