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 average value of the following Python code snippet?
Solution |
2
Discuss
|
Mathematical operations can be performed on a string.
Solution |
3
Discuss
|
Which of the following operators has its associativity from right to left?
Solution |
4
Discuss
|
What are the values of the following Python expressions?
Solution |
5
Discuss
|
What is the answer to this expression, 22 % 3 is?
Solution |
6
Discuss
|
Which one of the following has the same precedence level?
Solution |
7
Discuss
|
Which of the following is the truncation division operator?
Solution |
8
Discuss
|
Which of the following results in a SyntaxError?
Solution |
9
Discuss
|
What will be the value of the following Python expression?
Solution |
10
Discuss
|
Operators with the same precedence are evaluated in which manner?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved