Answer to Question #256510 in Python for rasi

Question #256510

 34. can you please take out the half name of your full name by index method

 


1
Expert's answer
2021-11-04T00:21:54-0400
st = input("Enter full name: ")
n = len(st)
mid = n//2
print(st[:mid])

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS