Q. Name the function/method required to


(i) Check if a string contains only uppercase letters

(ii) Gives the total length of the list.


Answer =

(i) str.isupper()
(ii) len()

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post