Advertisement
Le-Ownect

Convertendo strings em numero inteiro. [ Python ]

Jun 30th, 2020
1,044
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. #Transformando strings em numero inteiro
  2.  
  3. numero_em_texto = int('12')
  4. numero = int(numero_em_texto)
  5. type(numero) #verificar se deu certo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement