Apr-05-2020, 08:55 AM
One can split input and construct new string on the fly (I didn't see any requirements how the mashup should be created), requires 3.6 <= Python for f-strings:
first_name = input('Enter full name (first, last): ' ).split() second_name = input('Enter full name (first, last): ').split() print(f"{first_name[0][0]}{second_name[0][1:]} {first_name[1][0]}{second_name[1][1:]}")
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.