test = "Hello World 2019" test2 = "Bugtype" print (test.find("e")) print (test.lower()) print (test[3:]) print (test[:3]) print (test[::2]) print (test[::3]) print (test[::4]) print (test.split(" ")) print ([x for x in test]) print (sorted([x for x in test])) print ("%s by Bugtype" % test) print ("{:} by Bugtype".format(test,test2)) print ("{1} by Bugtype".format(test,test2)) 1hello world 2019lo..