I want tolowercase() to convert values and also ignore null values in a list. What to do ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I want tolowercase() to convert values and also ignore null values in a list. What to do ?

Ignore null values and convert other values in the list by means of tolowercase() in a list.

19th Sep 2019, 9:23 AM
Yasik Raam
Yasik Raam - avatar
1 Answer
+ 2
You can iterate through the string and make a new string, which you will fill with valid and maybe modified values.
19th Sep 2019, 9:27 AM
Seb TheS
Seb TheS - avatar