String Operations - Basic
Posted: Sun May 26, 2024 10:04 am
#Print Function
#Print Function with a variable
#Multi-Line String
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)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)