The following is displayed by a print function call. Select all of the function calls that result in this output.
tom
dick
harry
print(”’tomdickharry”’)
print('''tom \ndick \nharry''')
print('tom dick harry')
print(‘tom\ndick\nharry’)
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
What is the answer to this expression, 22 % 3 is?
Solution |
2
Discuss
|
The one’s complement of 110010101 is:
Solution |
3
Discuss
|
Evaluate the expression given below if A = 16 and B = 15.
Solution |
4
Discuss
|
Which one of the following has the highest precedence in the expression?
Solution |
5
Discuss
|
What is the value of the following expression?
Solution |
6
Discuss
|
What is the return type of function id?
Solution |
7
Discuss
|
Which one of the following has the same precedence level?
Solution |
8
Discuss
|
What is the order of precedence in python? i) Parentheses |
9
Discuss
|
It is not possible for the two’s complement value to be equal to the original value in any case.
Solution |
10
Discuss
|
What is the average value of the following Python code snippet?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved