
# when you check a string is it empty or not not then you should use this syntex below now

name = input('please enter your name: ')

if name: # it means if show anything or show empty things

    print(f'hello! {name}. how are you?')

else:
    print('you didn\'t typed anything')




730b43390a04fb45d9587f5fe3a64f7caf12f2f1
<mask token>

<mask token>
if name:
    print(f'hello! {name}. how are you?')
else:
    print("you didn't typed anything")

name = input('please enter your name: ')
if name:
    print(f'hello! {name}. how are you?')
else:
    print("you didn't typed anything")


# when you check a string is it empty or not not then you should use this syntex below now

name = input('please enter your name: ')

if name: # it means if show anything or show empty things

    print(f'hello! {name}. how are you?')

else:
    print('you didn\'t typed anything')



