title: I have to check if the string contains: alphanumeric, alphabetical , digits, lowercase and uppercase characters
body: <pre><code>def fun(s):
      for i in s:
          if i.isalnum():
              print("True")
          if i.isalpha():
              print("True")
          if i.isdigit():
              print("True")
          if i.isupper():
              print("True") 
          if i.islower():
              print("True")
  s=input().split()
  fun(s)
  </code></pre>
  
  <p>why it prints true only once even though it is in a for loop</p>