Page 1 of 1

Suppose the string "WONDERFUL!!" is assigned to the variable text, which of the following will change the value of text

Posted: Wed Mar 30, 2022 9:20 am
by answerhappygod
Suppose the string "WONDERFUL!!" is assigned to the variable
text,
which of the following will change the value of text to
"wonderful"?
Suppose The String Wonderful Is Assigned To The Variable Text Which Of The Following Will Change The Value Of Text 1
Suppose The String Wonderful Is Assigned To The Variable Text Which Of The Following Will Change The Value Of Text 1 (19.54 KiB) Viewed 29 times
Suppose the string "WONDERFUL!!" is assigned to the variable text, which of the following will change the value of text to "wonderful"? text.lower() text.strip("!") text = text.lower() text = text.strip("!") text = text.lower().strip("!")