Python 3 Basics # 2.2 | Python Escape Characters | Escape Character in Python | Python for Beginners

Python 3 Basics # 2.2 | Python Escape Characters | Escape Character in Python | Python for Beginners

technologyCult

54 года назад

40,442 Просмотров

#PythonEscapeCharacters #PythonEscapeSequences #technologycult #EscapeCharacters
Python Escape Characters
1. Single quote - Add Single Quote within a String
2. Double Quote - Add Double Quote within a String
3. BackSlash - How to insert backslash in a string
4. NewLine - How to insert a new line
5. Tab - How to use tab in python
6. Carriage Return - What is carriage retrurn and how to use it
7. Form Feed - What is Form feed
8. Octal Value - What is Octal Value
9. Hex Value - What is Hex Value

All Playlist of this youtube channel
====================================

1. Data Preprocessing in Machine Learning
https://www.youtube.com/playlist?list=PLE-8p-CwnFPuOjFcbnXLFvSQaHFK3ymUW

2. Confusion Matrix in Machine Learning, ML, AI
https://www.youtube.com/playlist?list=PLE-8p-CwnFPvXzvsEcgb0IZtNsw_0vUzr

3. Anaconda, Python Installation, Spyder, Jupyter Notebook, PyCharm, Graphviz
https://www.youtube.com/playlist?list=PLE-8p-CwnFPsBCsWwz_BvbZZHIVQ6wSZK

4. Cross Validation, Sampling, train test split in Machine Learning
https://www.youtube.com/playlist?list=PLE-8p-CwnFPsHtol5WXHhq_B3kQPggHH2

5. Drop and Delete Operations in Python Pandas
https://www.youtube.com/playlist?list=PLE-8p-CwnFPtvqVVK7QVFsMvDvp2YgCnR

6. Matrices and Vectors with python
https://www.youtube.com/playlist?list=PLE-8p-CwnFPsndwnZnL7nXW5mIrdRmgdg

7. Detect Outliers in Machine Learning
https://www.youtube.com/playlist?list=PLE-8p-CwnFPvyCX35yES5D9W7vThiUzwk

8. TimeSeries preprocessing in Machine Learning
https://www.youtube.com/playlist?list=PLE-8p-CwnFPv10bru3719xzDNIgbO6hXA

9. Handling Missing Values in Machine Learning
https://www.youtube.com/playlist?list=PLE-8p-CwnFPvOec0LZ40Bt8OQcbLFa236

10. Dummy Encoding Encoding in Machine Learning
https://www.youtube.com/playlist?list=PLE-8p-CwnFPvu7YriqMZsL9UDbqUUk90x

11. Data Visualisation with Python, Seaborn, Matplotlib
https://www.youtube.com/playlist?list=PLE-8p-CwnFPuYBYsmbfMjROOCzKjCwyMH

12. Feature Scaling in Machine Learning
https://www.youtube.com/playlist?list=PLE-8p-CwnFPtwpVV3FwzwYZYR5hT3i52G

13. Python 3 basics for Beginner
https://www.youtube.com/playlist?list=PLE-8p-CwnFPu-jseUMtc4i47jQZN4PNbf

14. Statistics with Python
https://www.youtube.com/playlist?list=PLE-8p-CwnFPta0COlxS6E5u14m5ouzbRU

15. Sklearn Scikit Learn Machine Learning
https://www.youtube.com/playlist?list=PLE-8p-CwnFPtAGb29r8F7up9ilZUXt3l1

16. Python Pandas Dataframe Operations
https://www.youtube.com/playlist?list=PLE-8p-CwnFPv_63lkT_Tztiwknv_zGTNy

17. Linear Regression, Supervised Machine Learning
https://www.youtube.com/playlist?list=PLE-8p-CwnFPslDi6sfFbFK4KXcVlLwaOM

Code
=====
print('\'')
print("\"")

print('It\'s Raining')

Sachin "Ramesh" Tendulkar

print("Sachin "Ramesh" Tendulkar")
print("Sachin \"Ramesh\" Tendulkar")

\, \\ , \\\ , \\\\

print('The way to insert one backslash is \\')
print('The way to insert two backslash is \\\\')
print('The way to insert three backslash is \\\\\\')
print('The way to insert four backslash is \\\\\\\\')

print('Hello')
print('World')
print('Hello\nWorld')

print('1234567890')
print('\tHello')
print('1234567890')
print('\tHello'.expandtabs(tabsize=8))

print('Hello\tWorld')
print('Hello\rWorld')

Hello
World

print('123456789\rHello')

123456789
XXXXX
Hello6789

print('Hello\bWorld')
print('Hello\b\bWorld')
print('Hello\b\b\bWorld')
print('Hello\b\b\b\bWorld')

print('\f')

Тэги:

#Python_Single_Quotes #Python_Double_Quote #Python_Backslash #Python_new_line #Python_carriage_return #Python_Form_Feed #Tabs_in_Python #expandtabs_in_python #expandtabs #new_line_python #python_escape_characters #python_escape_sequences #python_escape_sequence_list #escape_character_in_python #Single_quote_-_Add_Single_Quote_within_a_String
Ссылки и html тэги не поддерживаются


Комментарии: