ord Function in Python|chr Function in Python|String in Python

preview_player
Показать описание
ord Function in Python|chr Function in Python|String in Python
queries covered:-
1) ord Function in python
2) chr function in python
3) string in python

Hello guys,welcome to codeyug to build your computer science skills.Here,you will learn programming tutorials and computer science tutorials from basics to advanced.

source code :-
Thanks for watching this video
Subscribe codeyug for more programming tutorials.
About this channel:-
This channel provides free tutorials on programming,coding,web development.There are programming tutorials which covers from basics to advanced absolutely in hindi.

Our social links:-
creator:-
------shantanu kejkar-------
#ord #chr #functions #python #python3 #programming #coding #codeyug
#string
Рекомендации по теме
Комментарии
Автор

#Notes
""" ord() function
this is inbuild method returns representing unicode for the given character.

bytes are used to represent in a text .Different types of coding schemes are used to represent the character set and numbers.
The most commly used coding scheme is the ASCII - (American standard code for information)
Each binary value between 0 and 127 is used to represent a specific character.
The ASCII value for ( blank space) is 32 and the ASCII value of numeric 0 is 48.
ASCII value for lower case alphabets is from 97 to 122 and upper case alphabets is 65 to 90.

syntax:ord(character) # takes only one character"""

print(ord('A'))
print(ord('#'))
print(ord('z'))


""" chr() function
This is opposite to ord()
represent unicode of character
syntax: chr(int)"""

print(chr(65))
print(chr(103))

KaranSinghD-yjep