If S='python language' is a Python string, which of the following command will…
PYQ KVS TGT/PGT 2023
If S='python language' is a Python string, which of the following command will display the following output with 'P' in upper case and remaining in lower case ?
- A.
print(S.upper())
- B.
print(S.title())
- C.
print(S.capitalize())
- D.
print(S.sentence())
Attempted by 2082 students.
Sign up free to check your answer
Sign up freeLoading lesson…

