title: i am trying to put the last sentence "else : print("are you without a name?")" in a loop where it keep asking until a valid answer is given
body: <pre><code>name = input(&quot;what is your name: &quot;)
  
  
  while name:
  
      if name.isnumeric():
          name = input(&quot;please write a valid name &quot;)
      else:
          print(f&quot;hello {name}&quot;)
          break
  else :
      print(&quot;are you without a name?&quot;)
  </code></pre>