Python Tutorial: Comparing Strings

preview_player
Показать описание
In this video, we discuss how Python compares strings. What's it mean for a string to be less than another string? What's an ASCII code? Are two strings the same?

These are questions we can answer in Python.

After talking about some theory, we write a sample program illustrating the ideas.

This programming tutorial for beginners explains the concepts in an easy-to-digest way.
Рекомендации по теме
Комментарии
Автор

Thank you, this really helped out with my homework.

angelabeckman
Автор

Good video. The comparison of the integers was helpful for me.

JJJJ-gluf
Автор

>>>cat='cat'; dog='dog'
>>>cat<dog
True
>>>catdog=cat+dog
>>>catdog > cat
True
>>>catdog < dog
True

tertia
Автор

Thank you! It cleared so many doubts in my mind🫂

Santoshkumar-bboq
join shbcf.ru