

a="Please, I want {} sandwishes and {} donutes "
print("String before modification :",a,"\n")
#1. use replace function
a=a.replace("I","We")
print("String after replace I with We :",a,"\n")
#2. Use format function
print("String after formatting :",a.format(5,7),"\n")
# 3. Capitalize "a"
a=a.replace("a","A")
print("String after capitalize letter a :",a.format(5,7),"\n")
484fbac934f64e7f3bdc967c0d3c02d6ddb0c486
<mask token>

<mask token>
print('String before modification :', a, '\n')
<mask token>
print('String after replace I with We :', a, '\n')
print('String after formatting :', a.format(5, 7), '\n')
<mask token>
print('String after capitalize letter a :', a.format(5, 7), '\n')

a = 'Please, I want {} sandwishes and {} donutes '
print('String before modification :', a, '\n')
a = a.replace('I', 'We')
print('String after replace I with We :', a, '\n')
print('String after formatting :', a.format(5, 7), '\n')
a = a.replace('a', 'A')
print('String after capitalize letter a :', a.format(5, 7), '\n')



a="Please, I want {} sandwishes and {} donutes "
print("String before modification :",a,"\n")
#1. use replace function
a=a.replace("I","We")
print("String after replace I with We :",a,"\n")
#2. Use format function
print("String after formatting :",a.format(5,7),"\n")
# 3. Capitalize "a"
a=a.replace("a","A")
print("String after capitalize letter a :",a.format(5,7),"\n")