course="python for biginners"
print(course)
print(len(course))
print(course[2:16])
print(course[0:21])
print(course[1:20])
print(course.upper())
a=course[:]
print(a)
x=course.upper()
print(x)
y=course.find('f')*10
print(course.find('f'))
#find xth position of "f"
print(y)
print(course.count("o"))
#how many str?
print(course.replace("biginners", "newbies"))
#for finding and replacing
print("python" in course) #aksing if "python is in the variable course? Answer will be True or false
#-----------------------------------------
#another prog below

print(" ") #for a blank line
print("****new program below****")
first ="Hana"
Second= "AFSAL"
summ= f"{first} {Second} is a good girl"
#Format string, put variable in double bracket
print(summ)
#The result will be "Hana AFSAL is a good girl"
print (len(summ))
#to find length or number of charectors in a string
