4^12
Guess the output?
import datetime
d=datetime.date(2017,06,18)
print(d)
What will be the output of the following Python statement?
>>> print('x\97\x98')
What is the output of the following code?
x = "1234"
y = 1234
print(x)
print(y)
What will be the output of the following Python code?
What is the output of the following code?
str = "welcome to Abekus"
print(str.title())
fp=open("txt.txt")
x=fp.read()
print(len(x))
if the file txt.txt contains the following text, then what is the output of the above code?
Hello
World!! hi
Hello
What will be the output of the following Python code?
import random
random.choice([10.4, 56.99, 76])
What is the output of the following piece of code?
a=list((45,)*4)
print((45)*4)
print(a)
Find the output of the following code:
def a(a, b):
if type(a) != type(b):
return "Enter valid data type"
e = a + b
d = e * 10
return d
c = a(15, 16)
print(c)
k = a(15, 'abekus')
print(k)