Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

remove uppercase letters python

s = "Hello, World!"
# This removes all uppercase letters from a string 
# if you want to convert your characters to lowercase, use lower()
s = ''.join(ch for ch in s if not ch.isupper())
print(s) # ello, orld
Comment

PREVIOUS NEXT
Code Example
Python :: standardscalar 
Python :: move to next iteration of for loop python 
Python :: load python 
Python :: Univariant Variable Analysis - Multiple Plots 
Python :: Access value 
Python :: number guessing game using tkinter python 
Python :: url encoding in python 
Python :: loop until counted to 100 forever 
Python :: sort a tensor pytorch 
Python :: How to create a python dictionary without defining values 
Python :: how to create sets in python 
Python :: py decorateur 
Python :: select data frame with categorical datatype in pandas 
Python :: Python Tkinter Scrollbar Widget Syntax 
Python :: how to combine sets using update() Function 
Python :: web parser python 
Python :: python Fibonacci series up to n 
Python :: An error occurred while connecting: 10049: The requested address is not valid in its context.. scrapy splash 
Python :: ssd 1306 esp32 python 
Python :: django url wildcard 
Python :: Python script to do something at the same time every day 
Python :: geopandas bbox 
Python :: import knn in python jupyter 
Python :: Using iterable unpacking operator * with extend 
Python :: python map and filter 
Python :: python networkmanager tutorial 
Python :: pyqt stretch image 
Python :: matplotlib include first number in plotter 
Python :: matlab index last element 
Python :: main() invalid syntax 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =