String Data Type in Python

 

String Data Type in Python  


s = "This is a string"

print(s)

s = '''A multiline

string'''

print(s)


Output 

This is a string

A multiline

string



0 comments:

Post a Comment

gurnoorsingh5974@gmail.com

Count Upper Case and Lower Case Word in a string (Python)

  Count Upper Case and Lower Case Word in a string     (Python) def string_test(s):     d={"UPPER_CASE":0, "LOWER_CASE":...