- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Python Prep 07: The "1+1=11" Problem & Math with Strings vs. Numbers
Why does Python sometimes think 1 + 1 is 11? In this lesson, we solve the mystery of the "String Trap" and master Arithmetic Operators.
We explore how Python handles math differently depending on whether you are using Integers, Floats, or Strings. You'll learn how to use the standard math symbols and a few "secret" string tricks that Python allows.
What we cover today:
The "1+1=11" Mystery: Understanding string concatenation vs. mathematical addition.
Arithmetic Operators: * The basics: +, -, *, /.
Working with int and float results.
String Math (The Fun Part): * + with Strings: Joining text (Concatenation).
* with Strings: Repeating text (e.g., "Ha" * 3 becomes "HaHaHa").
Fixing User Input: How to wrap your input() in a type conversion to make math actually work.
#PythonMath #CodingLogic #StringManipulation #CatalystProgrammers #LearnToCode #pythonbeginners
Видео Python Prep 07: The "1+1=11" Problem & Math with Strings vs. Numbers канала Catalyst Programmers
We explore how Python handles math differently depending on whether you are using Integers, Floats, or Strings. You'll learn how to use the standard math symbols and a few "secret" string tricks that Python allows.
What we cover today:
The "1+1=11" Mystery: Understanding string concatenation vs. mathematical addition.
Arithmetic Operators: * The basics: +, -, *, /.
Working with int and float results.
String Math (The Fun Part): * + with Strings: Joining text (Concatenation).
* with Strings: Repeating text (e.g., "Ha" * 3 becomes "HaHaHa").
Fixing User Input: How to wrap your input() in a type conversion to make math actually work.
#PythonMath #CodingLogic #StringManipulation #CatalystProgrammers #LearnToCode #pythonbeginners
Видео Python Prep 07: The "1+1=11" Problem & Math with Strings vs. Numbers канала Catalyst Programmers
Комментарии отсутствуют
Информация о видео
12 февраля 2026 г. 22:28:00
00:50:12
Другие видео канала





















