# total string length
a = "Hello,World!"
print(len(a))

x="mahmud    hossain"
z=len(x)
print(z)

# count string charecter from to end, from-2 and 5-totall
b = "Hello, World!"
print(b[2:5])

x="mahmud hossain"
z=x[3:14]
print(z)

# cherecter position in a string
a = "Hello, World!"
print(a[1])

x="mahmud hossain"
z=x[4]
print(z)