Posts by Renê • 66 points
1 post
-
5
votes5
answers7921
viewsA: How to properly format CPF in Python?
A test must be included if the CPF has 11 digits and fill in with zeros on the left if there are fewer digits, so formatting is correct for Cpfs starting with zero teste = input("CPF: ") #…