Django is called a _____ coupled framework.
In Python, is "Hello" the same as 'Hello'?
What is the output of the given code?
List=[]
List.insert(3,12)
print(List)
def func(x, ans):
if(x==0):
return 0
else:
return func(x-1, x+ans)
print(func(2,0))
Variables A and B refer to the same 'int' value. Which expression will produce True?
What is the use of truncate() method in file?
What will be the output of the following code?
x='ABekus'
w="ABEKUS"
print(x.upper())
print(w.lower())
What will be the output of the following Python code?
i = 1
while False:
if i%2 == 0:
break
print(i)
i += 2
What will be the output of the following Python code?
values = [[3, 4, 5, 1 ], [33, 6, 1, 2]]
for row in values:
row.sort()
for element in row:
print(element, end = " ")
print()
What will be the output of the following Python code?
class student:
def __init__(self):
self.marks = 97
self.__cgpa = 8.7
def display(self):
print(self.marks)
obj = student()
print(obj._student__cgpa)