0
Is there a way of Making this shorter?
I want to make my code a little bit shorter to not take alot of space please help! https://code.sololearn.com/cg6QHIpjIs0k/?ref=app
2 Answers
0
print(input('Name?\n').split(' ')[0] or 'unknown')
0
thanks
I want to make my code a little bit shorter to not take alot of space please help! https://code.sololearn.com/cg6QHIpjIs0k/?ref=app