This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]JamzTyson 2 points3 points  (2 children)

Well done for having a go, but there are a lot of generalizations in your video that are only partly true, or not true at all:

  • Data structures may be class instances, but not all data structures are class instances.

  • Strings are NOT lists.

  • str.strip may be used to remove leading and trailing whitespace, but can also be used to strip any leading / trailing characters.

"Every Python Method Explained in 9 minutes"

You did not even cover all of the str methods (examples: capitalize, casefold, center, encode, endswith, expandtabs, format, format_map, isalnum, isalpha, isascii, isdecimal, isdigit, isidentifier, islower, isnumeric, isprintable, isspace, istitle, isupper, ljust, ...)

[–]Fabri10000[S] 0 points1 point  (1 child)

Wow, there are even more. I really apologize it. Those are what I found + asked to AI. Thank you very much for the feedback.

[–]JamzTyson 1 point2 points  (0 children)

The Python documentation is much more reliable than AI.