mfx28

Untitled

Jun 5th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. #Regra D1
  2. def ver_maius(input):
  3.     maius = 0
  4.     lista_maius = "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z".split()
  5.     for char in input:
  6.         if char in lista_maius:
  7.             maius += 1
  8.     if maius > 1:
  9.         return False
  10.     else:
  11.         return True
Advertisement
Add Comment
Please, Sign In to add comment