Python Tutorial v3.2.5 Lesson 22.2 - Boolean String Methods

Publicado el: 09 agosto 2014
en el canal de: Programming Tutorials by Steve
1,175
11

1:43 Skip the introduction to Lesson 22.2
7:11 Skip to an example of using .startswith() and .endswith()
11:09 Skip to an example of combining multiple string methods (in this case, .lower() and .startswith('x')
There is no challenge program for Lesson 22.1

Lesson 22.2 continues investigating the use of many of the string methods available in Python. In particular, we are going to evaluate Boolean String Methods. These are string methods that will return either a True or False. Examples of .isalpha(), .isnumeric(), .startswith('x'), and .endswith('x') are provided. Examples of how some of these methods can be combined in a user defined function that asks a user if they wish to continue playing are also shown.

This is an introductory series of Python tutorials. This course, from start to finish, is designed to help someone who has never programmed before learn the basics of coding in Python. As this series continues, we examine more advanced Python techniques, functions, and methods.

You can download a copy of Python from http://www.python.org/downloads/.

Keep in mind this tutorial is using an older version of Python, v3.2.5. You will need to click on the "View Older Releases" button to use this specific version. Using the newer versions will not be an issue at this point, but when the lesson proceeds to basic graphics, the Pygame Module we'll use does not support v3.3+ at this time.


En esta página del sitio puede ver el video en línea Python Tutorial v3.2.5 Lesson 22.2 - Boolean String Methods de Duración hora minuto segunda en buena calidad , que subió el usuario Programming Tutorials by Steve 09 agosto 2014, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,175 veces y le gustó 11 a los espectadores. Disfruta viendo!