Q.1.
What will be the output of the “hello” +1+2+3?
Q.2.
What will be the output of the following Python statement? >>>chr(ord('A'))
Q.3.
What will be the output of the following Python statement? >>>print(chr(ord('b')+1))
Q.4.
The format function, when applied on a string returns ___________
Q.5.
What will be the output of the following Python code? >>>print("D", end = ' ')>>>print("C", end = ' ')>>>print("B", end = ' ')>>>print("A", end = ' ')
Q.6.
What will be the output of the following Python statement?(python 3.xx) >>>print(format("Welcome", "10s"), end = '#')>>>print(format("4d"), end = '#')>>>print(format(924."3.2f"))
Q.7.
What will be displayed by print(ord(‘b’) – ord(‘a’))?
Q.8.
Say s=”hello” what will be the return value of type(s)?