Created
July 13, 2021 13:41
-
-
Save renan778/bcf149e7a05f07a142b9bc903bbaa095 to your computer and use it in GitHub Desktop.
Tipos de is
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var1 = input('Digite algo: ') | |
print('O tipo primitivo desse valor é', type(var1)) | |
print('Só tem espaços?', var1.isspace()) | |
print('É um número?', var1.isnumeric()) | |
print('É alfabético?', var1.isalpha()) | |
print('É alfanumérico?', var1.isalnum()) | |
print('Está em maiúsculas?', var1.isupper()) | |
print('Está em minúsculas?', var1.islower()) | |
print('Está capitalizada?', var1.isprintable()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment