my_string='Hello'
print(my_string)

my_string="Hello"
print(my_string)

my_string='''Hello'''
print(my_string)

my_string="""Hello,welcome to
          the world of Python"""
print(my_string)
str='programiz'
print('str=',str)

#first character
print('str[0]=',str[0])

#last character
print('str[-1]=',str[-1])

#slicing 2nd to 5th character
print('str[1:5]=',str[1:5])

#slicing 6th to 2nd last character
print('str[5:-2]=',str[5:-2])

str1='Hello'
str2='World'
print('str1+str2=',str1+str2)

print('str1*3=',str*3)
count=0
for letter in 'Hello World':
	if(letter=='l'):
          count+=1
print(count,'letters found')
print('''He said,"Whats's there?"''')
print('He said,"What\'s there?"')
print("He said, \"What's there?\"")

