mystring = 'abcdefg'
print(mystring[0])
print(mystring[-1])
print(mystring[2:])
print(mystring[:3])
print(mystring[2:3])
print(mystring[::2])
print(mystring.upper())
string = 'Hello World'
x = string.split('e')
print(x)
x= "whats my name: {}".format('Ikshit')
print(x)

# Split

tweet = 'Go Sports! #sport'
result = tweet.split('#')[0]
print(result)
