MCQOPTIONS
Bookmark
Saved Bookmarks
→
Computer Science Engineering (CSE)
→
Software Design Modeling in Computer Science Engineering (CSE)
→
f1(). ...
1.
f1(). .
A.
error
B.
12
C.
15
D.
1512
Answer» D. 1512
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What will be the output of the followingPython code?1. >>>str1="helloworld"2. >>>str1[::-1]
f1(). .
What will be the output of the followingPython code?1. class father:2. def __init__(self, param):3. self.o1 = param4.5. class child(father):6. def __init__(self, param):7. self.o2 = param8.9. >>>obj = child(22)10. >>>print "%d %d" % (obj.o1, obj.o2)
In python we do not specify types, it isdirectly interpreted by the compiler, soconsider the following operation to beperformed.>>>x = 13 ? 2objective is to make sure x has a integervalue, select all that apply (python 3.xx)
What will be the output of the followingPython code snippet?not(10<20) and not(10>30)
What is the average value of thefollowing Python code snippet?>>>grade1 = 80>>>grade2 = 90>>>average = (grade1 + grade2) / 2
What data type is the object below? L = [1, 23, 'hello', 1]
What will be the value of x in thefollowing Python expression?x = int(43.55+2/2)
What will be the value of the followingPython expression?float(4+int(2.39)%2)
What will be the value of the followingPython expression?4+2**5//10
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply