filmov
tv
Python Tutorial for Beginners 6 - Strings
Показать описание
In this Video I am going to show how to use String literals in Python. In python String literals can be enclosed in matching single quotes (') or double quotes ("). A Python string is a sequence of characters. A string literal uses quotes 'Hello' or "Hello". Single- and Double-Quoted strings are the same. To “concatenate” strings,
use + symbol. e.g. print("Hello"+"World") . When a string contains numbers, it is still a string. We can convert numbers in a string into a number using int().
In Addition I am also going to show how to use comments in Python i.e. How To Write Comments in Python 3
★★★Top Online Courses From ProgrammingKnowledge ★★★
★★★ Online Courses to learn ★★★
★★★ Follow ★★★
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
python 3 unicode strings
python 3 compare strings
python 3 join strings
python 3 raw strings
python 3 bytes to string
python 3 string formatting
python 3 int to string
concatenate strings python
use + symbol. e.g. print("Hello"+"World") . When a string contains numbers, it is still a string. We can convert numbers in a string into a number using int().
In Addition I am also going to show how to use comments in Python i.e. How To Write Comments in Python 3
★★★Top Online Courses From ProgrammingKnowledge ★★★
★★★ Online Courses to learn ★★★
★★★ Follow ★★★
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
python 3 unicode strings
python 3 compare strings
python 3 join strings
python 3 raw strings
python 3 bytes to string
python 3 string formatting
python 3 int to string
concatenate strings python
Комментарии