Answers for "python literal string"

0

python literal string

>>> r'abc\dev\t' # Use the r prefix
# Result:
'abc\\dev\\t'
Posted by: Guest on June-09-2021
0

python literal string

String literal is a datatype in python.
which is used to store characters of variable length
For example :-
  a = 'This is a string'
  b = 'You can also includes these @#$%^&*( or 12345678'
Above there are two variables a and b having string literal as there values
Posted by: Guest on March-15-2021

Python Answers by Framework

Browse Popular Code Answers by Language