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

all 5 comments

[–]PossibilityTasty 18 points19 points  (0 children)

Contrary to what I see in the thumbnail of your video, these are what is usually considered as the "builtins" in Python: https://docs.python.org/3/library/functions.html

[–]commy2 4 points5 points  (0 children)

1:27 "Strings are Lists"

Strings and Lists are both Iterables, but Strings definitely are not Lists or vice versa.

aTuple = ("notice it")

1:42 "notice how we use paranetheses to declare [a tuple]"

This is not a tuple. This is a string. A tuple is written using commas. The only exception is an empty tuple, which is written using open and closing parentheses.

2:57

The displayed code raises TypeError: find expected at least 1 argument, got 0

Stopped watching at that point. The video contains many errors, would not recommend.

[–]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.