Which of the following formatting options can be used in order to add ‘n’ blank spaces after a given string ‘S’?
print(“-ns”%S)
print(“-ns”%S)
print(“%ns”%S)
print(“%-ns”%S)
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 = -122?
Solution |
2
Discuss
|
What will be the output of the following Python expression if x=56.236?
Solution |
3
Discuss
|
What will be the output of the following Python expression if x=22.19?
Solution |
4
Discuss
|
What will be the output of the following Python expression if X=345?
Solution |
5
Discuss
|
The expression shown below results in an error.
Solution |
6
Discuss
|
What will be the output of the following Python code snippet?
Solution |
7
Discuss
|
What will be the output of the following Python expression if the value of x is 34?
Solution |
8
Discuss
|
What will be the output of the following Python expression if x=456?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved