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
|
Given a function that does not return any value, What value is thrown by default when executed in shell.
Solution |
3
Discuss
|
Which one of the following has the same precedence level?
Solution |
4
Discuss
|
The one’s complement of 110010101 is:
Solution |
5
Discuss
|
What is the value of the following expression?
Solution |
6
Discuss
|
In order to store values in terms of key and value we use what core data type.
Solution |
7
Discuss
|
What is the output of this expression, 3*1**3?
Solution |
8
Discuss
|
It is not possible for the two’s complement value to be equal to the original value in any case.
Solution |
9
Discuss
|
Operators with the same precedence are evaluated in which manner?
Solution |
10
Discuss
|
The value of the expressions 4/(3*(2-1)) and 4/3*(2-1) is the same.
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved