Locked learning resources

Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Locked learning resources

This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Python Basics: Strings and String Methods (Summary)

In this video course, you learned the ins and outs of Python string objects. You learned how to access different characters in a string using indices and slices, as well as how to determine the length of a string with len().

Strings come with numerous methods. The .upper() and .lower() methods convert all characters of a string to uppercase and lowercase, respectively. The .rstrip(), .lstrip(), and .strip() methods remove whitespace from strings, and the .startswith() and .endswith() methods tell you if a string starts or ends with a given substring.

You also learned how to capture input from a user as a string using the input() function, and how to convert that input to a number using int() and float(). To convert numbers and other objects to strings, you use str().

Finally, you learned how to use the .find() and .replace() methods to find the location of a substring and replace a substring with a new string.

For more information on the concepts you’ve covered in this course, check out:

Locked learning resources

Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Already a member? Sign-In

Locked learning resources

The full lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Already a member? Sign-In

Avatar image for nb20pygeek

nb20pygeek on July 7, 2023

This is good!

Avatar image for taniferf

taniferf on Nov. 5, 2024

This knowledge is very useful.

Avatar image for siri

siri on March 25, 2025

  • Review Exercises are really helpful.
  • Really a wonderful opportunity for checking our individual understanding of the concept in the middle of the course and also in the end of the course.
  • Adding related material at the end of the course makes me not to get stuck reading the material in the middle.

AWESOME!

Avatar image for Martin Breuss

Martin Breuss RP Team on March 25, 2025

@siri glad you’re finding the structure useful :D

Avatar image for Guy I. Horn

Guy I. Horn on Sept. 15, 2026

Hello, this is Guy. I have received the email with a link to download the cheat sheet for claude AI hooks, but the link is broken with a HTML 404 error. Thank you for looking into the matter.

Avatar image for Bartosz Zaczyński

Bartosz Zaczyński RP Team on Sept. 20, 2026

Hi @Guy I. Horn, thanks for reporting this, and sorry about the dead link. You were right: the PDF hadn’t made it onto our file server, so the download 404’d. It’s fixed now, and the rest of the team sent a follow-up email with a working link to everyone who was affected.

If that email didn’t reach you, you can get the cheat sheet here: Claude Code Hooks Cheat Sheet

Thanks again for flagging it 🙂

Become a Member to join the conversation.