MCQOPTIONS
Bookmark
Saved Bookmarks
→
Computer Science Engineering (CSE)
→
Software Design Modeling in Computer Science Engineering (CSE)
→
What is the output of the following code : print 9..
1.
What is the output of the following code : print 9//2
A.
4.5
B.
4.0
C.
4
D.
Error
Answer» D. Error
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What is the output of the following program?D = {1 : 1, 2 : '2', '1' : 1, '2' : 3}D['1'] = 2print(D[D[D[str(D[1])]]])
What is the output of the following program? tday=datetime.date.today() print(tday.month())
Which of the following formatting options can be used in order to add n blank spaces after a given string S ?
What is the output of the following program?D = dict()for x in enumerate(range(2)):D[x[0]] = x[1]D[x[1]+7] = x[0]print(D)
What is the output of the following code : print 9//2
What is the output of the following program?import stringimport stringLine1 = "And Then There Were None"Line2 = "Famous In Love"Line3 = "Famous Were The Kol And Klaus"Line4 = Line1 + Line2 + Line3print(string.find(Line1, 'Were'), string.count((Line4), 'And'))
What is the output of the following program :i = 0while i < 3:print iprint i+1
What is the output of the following?elements = [0, 1, 2]def incr(x):return x+1print(list(map(elements, incr)))
What is the output of the following?def to_upper(k):return k.upper()x = ['ab', 'cd']print(list(map(to_upper, x)))
What is the output of the following?elements = [0, 1, 2]def incr(x):return x+1print(list(map(incr, elements)))
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply