Monday, 5 December 2022

Python String Operations - 8

0
-1
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In [26], line 12
      9 txt = "Hello, welcome to my world."
     11 print(txt.find("q"))
---> 12 print(txt.index("q")) 

ValueError: substring not found


No comments:

Snowflake - Cost Optimization

Reduce auto-suspend to 60 seconds Reduce virtual warehouse size Ensure minimum clusters are set to 1 Consolidate warehouses Separate warehou...