A student asked me:
βIs there an advantage of using str.startwith() instead of using string slicing like str[:3]?β
Yes, there is!
More than 1 advantage.
I can name 4.
I wrote them down and ChatGPT created this diagram based on my explanation π