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
|
Which is the correct operator for power(xy)?
Solution |
2
Discuss
|
The value of the expressions 4/(3*(2-1)) and 4/3*(2-1) is the same.
Solution |
3
Discuss
|
Operators with the same precedence are evaluated in which manner?
Solution |
4
Discuss
|
Given a function that does not return any value, What value is thrown by default when executed in shell.
Solution |
5
Discuss
|
What is the answer to this expression, 22 % 3 is?
Solution |
6
Discuss
|
What will be the output of the following Python code?
Solution |
7
Discuss
|
What is the average value of the following Python code snippet?
Solution |
8
Discuss
|
What is the order of precedence in python? i) Parentheses |
9
Discuss
|
Which of the following operators has its associativity from right to left?
Solution |
10
Discuss
|
Which one of the following has the same precedence level?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved