What will be the output of the following Python code? print(“abc. DEF”.capitalize()) Questions & Answers › Category: Programming Language › What will be the output of the following Python code? print(“abc. DEF”.capitalize()) 1 Vote Up Vote Down Geek Boy Staff asked 2 years ago What will be the output of the following Python code? print("abc. DEF".capitalize()) a. Abc. def b. abc. def c. Abc. Def d. ABC. DEF Share this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to print (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Like this:Like Loading... Related 1 Answers -1 Vote Up Vote Down Geek Boy Staff answered 2 years ago a. Abc. def Explanation: The first letter of the string is converted to uppercase and the others are converted to lowercase. Share this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to print (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Like this:Like Loading... Related