Methods Flashcards
(4 cards)
1
Q
x.isnumeric()
A
checks if the string only contains numbers
2
Q
x.split(character)
A
creates a list broken up by the instance of the character
3
Q
x.strip(character)
A
removes all instances of that character in the string
4
Q
A