Page 1 of 1

String Operations - Basic

Posted: Sun May 26, 2024 10:04 am
by admin
#Print Function

Code: Select all

#Print Function
print("Icai")

#Print Function with a variable

Code: Select all

#Print Function with a variable
a = "Hello"
b = "SIRC"
c = "ICAI"
print(a, b, c)
#Multi-Line String

Code: Select all

#Multi-Line String 
a = """A financial instrument is any contract that gives rise to a financial asset of
one entity and a financial liability or equity instrument of another entity.
"""
print(a)