Python Programming - Tricky Questions - Discussion
Discussion Forum : Tricky Questions - General Questions (Q.No. 32)
32.
What will be the output of the following Python code?
x = "Python"
y = x.lower()
z = x.upper()
result = y + z
print(result)
Answer: Option
Explanation:
The
lower()
method makes the string lowercase, and upper()
makes it uppercase.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers