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
|
Which of the following operators has its associativity from right to left?
Solution |
3
Discuss
|
Which of the following will run without errors?
Solution |
4
Discuss
|
What is the output of this expression, 3*1**3?
Solution |
5
Discuss
|
Mathematical operations can be performed on a string.
Solution |
6
Discuss
|
What data type is the object below?
Solution |
7
Discuss
|
It is not possible for the two’s complement value to be equal to the original value in any case.
Solution |
8
Discuss
|
Which one of the following has the same precedence level?
Solution |
9
Discuss
|
What is the return value of trunc()?
Solution |
10
Discuss
|
Which of the following results in a SyntaxError?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved