Answer:
Check the explanation
Step-by-step explanation:
we will be writing the below codes in answering the question above.
The Code:
name="Tony stark"
firstname=name[0:4]
lastname=name[5:]
print(firstname,lastname) #first one
print(len(firstname)) #second one
s='s'
p='p'
i='i'
result='m'+i+(s*2+i)*2+p*2+i #third one
print(result)
The output can be seen in the image below.