QuestionQ46

VerifiedPython Basics

Which command generated the output below?

Question Image

Explanation

A string object exposes string methods such as capitalize, format, join, replace, split, and zfill. Calling dir('help') lists those attributes.

Community Discussion

No comments yet. Be the first to start the discussion!