Python - Things to know before proceed - Keyword Quiz
# | Quiz |
---|---|
1
Discuss
|
Keyword
What will be the output of the following Python code snippet?
Solution |
2
Discuss
|
Keyword
What will be the output of the following Python expression if x=456?
Solution |
3
Discuss
|
Keyword
What will be the output of the following Python expression if X=345?
Solution |
4
Discuss
|
Keyword
Which of the following formatting options can be used in order to add ‘n’ blank spaces after a given string ‘S’?
Solution |
5
Discuss
|
Keyword
What will be the output of the following Python expression if X = -122?
Solution |
6
Discuss
|
Keyword
What will be the output of the following Python expression if the value of x is 34?
Solution |
7
Discuss
|
Keyword
What will be the output of the following Python expression if x=56.236?
Solution |
8
Discuss
|
Keyword
What will be the output of the following Python expression if x=22.19?
Solution |
9
Discuss
|
Keyword
The expression shown below results in an error.
Solution |
# | Quiz |