79253254

Date: 2024-12-05 02:40:37
Score: 1
Natty:
Report link

this is an older topic, but it may help someone:

#full name
full_name = "armin van buuren"
#First name
print(f"Name : {full_name.split(" ", 1)[0].title()}")
#family name or last name
print(f"Surname : {full_name.split(" ", 1)[-1].title()}")

Result:

Name : Armin

Surname : Van Buuren

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alessandro Francisco