
def main():
    str1="Chennai"
    str2="city"
    for i in str1:
        print "\nCurrent letter is ",i
    str3=str1[2:5]
    print "\nSubstring is ",str3
    print "\nRepeated string is ",str1*100
    print "\nConcatenated string is ",str1+str2
main()
