You are viewing a single comment's thread. Return to all comments →
i added if statement as hereunder to validate the length of the full name ,, but it doesn't work ... why??
def print_full_name(first, last): # Write your code here if first and last <=10: pass print(f'Hello {first} {last}! You just delved into python.')
if name == 'main': first_name = input() last_name = input() print_full_name(first_name, last_name)
Seems like cookies are disabled on this browser, please enable them to open this website
What's Your Name?
You are viewing a single comment's thread. Return to all comments →
i added if statement as hereunder to validate the length of the full name ,, but it doesn't work ... why??
def print_full_name(first, last): # Write your code here if first and last <=10: pass print(f'Hello {first} {last}! You just delved into python.')
if name == 'main': first_name = input() last_name = input() print_full_name(first_name, last_name)