T Tam ca New member Sep 21, 2021 #1 What will be the output of the following Python code? Code: print("abc. DEF".capitalize()) A. abc. def B. ABC. DEF C. Abc. def D. Abc. Def
What will be the output of the following Python code? Code: print("abc. DEF".capitalize()) A. abc. def B. ABC. DEF C. Abc. def D. Abc. Def
N Nguyễn Linh Trang New member Sep 21, 2021 #2 Answer: c Explanation: The first letter of the string is converted to uppercase and the others are converted to lowercase. Upvote 0 Downvote
Answer: c Explanation: The first letter of the string is converted to uppercase and the others are converted to lowercase.