Horje
remover espaços string python Code Example
remover espaços string python
string = "    *****    "

print(string.lstrip());
# Saída: '*****   '

print(string.rstrip());
# Saída: '   *****'

print(string.strip());
# Saída: '*****'




Python

Related
pandas to tensor torch Code Example pandas to tensor torch Code Example
check if float is integer python Code Example check if float is integer python Code Example
windows activate venv Code Example windows activate venv Code Example
decrease hours in datetime python Code Example decrease hours in datetime python Code Example
how to create qthread in pyqt5 Code Example how to create qthread in pyqt5 Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8