String Operations - Basic

Post Reply
admin
Site Admin
Posts: 119
Joined: Fri May 10, 2024 2:46 pm
Location:

String Operations - Basic

Post 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)
Post Reply