What will be displayed by print(ord(‘b’) – ord(‘a’))?
All modular designs are because of a top-down design process.
Which of the following is not a function in python.
What will be the output of the following Python code?
>>> a,b=6,7
>>> a,b=b,a
>>> a,b
numbers = [~number for number in range(9, 2, -2)]
print(numbers)
What will be the output of the following Python code snippet?
a = {1: "A", 2: "B", 3: "C"}
print(a.get(5, 4))
Suppose d = {“john”:40, “peter”:45}, to delete the entry for “john” what command do we use?
What is the use of tell() method in python?
At what stage does an overflow condition occur in Python?