class StringEx: staticmethod def main(): a = '5' b = '10' c = a + b print("C : ") print(c) x = 5 y = 10 z = x + y print("Z : ") print(z) wd = "abcdefghijk" # total of 10 characters in the String value print(wd[1]) # index of 1st character in the String value print(wd[0]) # index of 2nd character in the String value print(wd[3]) # index of 3rd character in the String value # index of last character in the String value string1 = "Hello World!" string2 = "hey" print("Is it equals? ") print(string1 == string2) print("String1 " + string1) print("String2 " + string2) print("Its not equals?") print(string1 != string2) person1 = "Michael" person2 = "John" print("Same?") print(person1 == person2) print("Not Same?") print(person1 != person2) txt1 = "Python is " txt2 = "awesome" txt3 = txt1 + txt2 print("Text1 is : " + txt1) print("Text2 is : " + txt2) print("Magic....") print("Text3 is : " + txt3) StringEx.main()