# Aadiba Haque
# CS - UY 1114
# 13 March 2020
#Lab 7 Problem 1

# Number 1
x = 'Grace Hoppper'
#a
x[12]
#b
x[len(x)-1]
#c
x[:5]

#Number 2
my_str = ' homework '
#a
my_str[1:5]
#b
my_str[5:9]

#Number 3
my_str2 = 'hose'
#a
my_str2[:(len(my_str2)//2)]
#b
my_str2[(len(my_str2)//2):]

#Number 4
my_str3 = 'house'
#a
my_str3[len(my_str3)//2]
#b
my_str3[:len(my_str3)//2]
#c
my_str3[(len(my_str3)//2)+1:]

#Number 5
my_str4 = 'What is your name?'
#a
Wa syu ae
#b
y si t

