What will be the output of the following Python expression if X=345?
print(“%06d”%X)
000000345
000345
345000
345000000
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
What will be the output of the following Python expression if x=22.19?
Solution |
2
Discuss
|
What will be the output of the following Python code snippet?
Solution |
3
Discuss
|
What will be the output of the following Python expression if the value of x is 34?
Solution |
4
Discuss
|
Which of the following formatting options can be used in order to add ‘n’ blank spaces after a given string ‘S’?
Solution |
5
Discuss
|
What will be the output of the following Python expression if X = -122?
Solution |
6
Discuss
|
What will be the output of the following Python expression if x=56.236?
Solution |
7
Discuss
|
What will be the output of the following Python expression if x=456?
Solution |
8
Discuss
|
The expression shown below results in an error.
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved