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:

Data Sharing

  1. Create Share CREATE SHARE my_share; 2. Grant privileges to share GRANT USAGE ON DATABASE my_db TO SHARE my_share; GRANT USAGE ...