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

Скачать или смотреть 10 How to execute String Operation and Code Commenting in Python?

  • Free Tutorial TV
  • 2023-12-13
  • 7
10  How to execute String Operation and Code Commenting in Python?
Python Print function and Input FunctionPython TutorialPython Variable and TypesPython ProgrammingPython 3
  • ok logo

Скачать 10 How to execute String Operation and Code Commenting in Python? бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно 10 How to execute String Operation and Code Commenting in Python? или посмотреть видео с ютуба в максимальном доступном качестве.

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

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

Cкачать музыку 10 How to execute String Operation and Code Commenting in Python? бесплатно в формате MP3:

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

Описание к видео 10 How to execute String Operation and Code Commenting in Python?

Lets Open PI CHARM. Wait for Sometimes as it is Openning.

Lets me Create a new Project.

Close the Old Project.

Create New Project using FILE NEW PROJECT.

Name given as Python Project. Which is a new project.

Click Create.

In this project you can see main dot P Y

Here You can see that for comment. You can use hash key for commenting string.
One disadvantage is that hash key should be use for every line of string.

For Commenting Multiple Line of string in your code you can use.
3 doube quote.

Type any string as you wish within the QUOTE.

Let me type Welcome to FREE TUTORIAL TV, lets run and see .

The script is running without error.

let me type something to show you. A block of string.

This tutorial is for string.
Operation. and Comment String.
Inserting in your Code.

Lets run once again you can run without error and commenting is successful.

lets do some operation on string.

x = hello within double quote.
y = world within single quote.

whether the word is type in double quote or single quote. It is always a string.

Let type.

print(x).
print(y).

so lets run this code. Use Shift F 10 to run the code.

you can see the print hello. world. as we define.

you can see that double quote or single quote. python take it as string.

lets do some operation. There are in-built method. you can click dot next to x and you can see many method supported in PI charm.

lets select capitalize() in x as well as in y variable.

run this code you will see that staring letter change to capital letter.

Lets copy the print line of code.
Change from capitalize to UPPER().

run the code using shift F 10 and you will see the result as all string change to UPPERCASE.

let do addition of two string.
we can use + operator and add two string.
lets take a new variable Z = X + Y
print Z.

use shift F 10 to run the code. Now you will see both sting join. Onething you observe here that both string join end to end.
To have a space between the string. introduce a single quote. with a space between the operation. of x and y .using + operators. which is called string concatenation.

print Z. run using shift F10 and you will see a space between the string.


we can apply capitalize to z. it affect only the starting letter.

run the code using shift F10 and check the result.

Copy the code again. delete the operation as it is not neccessary to do every time.

Now you can apply upper to z. it affect onlys all the letter to upper case.

run the code using shift F10 and check the result.

I hope you have learnt something good. So guys if you have any doubts, please do share in the comment box, i will attend your query in next video.

otherwise i will make a new video for you.
**************************************************************************
please like and follow us in Facebook and Instagram.
facebook:   / technologytv  

Instagram:   / heikhamsingh  

Twitter:   / hanandkumarsing  

Комментарии

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

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

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

video2dn Copyright © 2023 - 2025

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