Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Tutorial Python variable summation and concatenation

  • Earth Walker
  • 2023-03-28
  • 352
Tutorial Python variable summation and concatenation
pythonstringvariableintegersummationconcatenationsimplequotestutorialshorteasy
  • ok logo

Скачать Tutorial Python variable summation and concatenation бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Tutorial Python variable summation and concatenation или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Tutorial Python variable summation and concatenation бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Tutorial Python variable summation and concatenation

Simple python example and short video to illustrate difference between using + operator on an integer and a string variable. It shows when it will do a summation and when it will do a concatenation #python #concatenation #summation #variable

How do we know a numerical value is stored as a string (string means text) or integer. If it is enclosed by single quotes or double quotes, it is a string value Eg. '3' , "3".
If the quotes are not there, then it is an integer. Eg. 3
This applies to numerical value with decimal as well. Eg. 3.5 and "3.5".
If the numerical number is a whole number, we call it an integer. If it is not a whole number, we call it a float.

Beginner may get confused when they use + operator if they do not understand the difference between a string and an integer. This simple (short video) and short example may be helpful to illustrate how it works.
String + String , python will perform a string concatenation.
integer + integer, python will perform a summation of integer values (Addition)

The video is less than 5 minutes.

Please like the video if it helps you :)

Hope these inputs are helpful for you.

0:00 - Do you see '3' + '1' = '31'
0:44 - Why '3' + '1' = '31' (string concatenation)
1:45 - Integer summation (no quotes) 3 + 1 = 4

Keywords:
#python
#string
#integer
#variable
#summation
#concatenation
#simple
#quotes
#tutorial
#short
#easy
#+
#earthwalker

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]