New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Is the "format" a function or it's a method of the string object?
1 Answer
+ 5
Good question. It's a method of the string object, and you know that because it has to be called with a dot (.) from the particular string it affects.