0

What are methods or function that we can apply in "List","Strings" and "Dictionary"?

9th Dec 2020, 12:04 PM
Should I Care?
Should I Care? - avatar
2 ответов
+ 1
https://docs.python.org/3/tutorial/datastructures.html Tuples https://www.w3schools.com/python/python_tuples.asp List https://www.w3schools.com/python/python_lists.asp Dictionary https://www.w3schools.com/python/python_dictionaries.asp Sets https://www.w3schools.com/python/python_sets.asp Ive send links, cause I dont think I can just copy and send it here all of the functions, moreover, these links I sent you also have EXAMPLES you can learn with.
9th Dec 2020, 12:05 PM
noteve
noteve - avatar
0
#this code will show you methods of class print("String methods : ",end="\n"*2) print([i for i in dir(str) if not i.startswith("__")]) print("\n"*2) print("List methods :",end="\n"*2) print([i for i in dir(list) if not i. startswith("__")]) print("\n"*2) print("Dictionary methods :",end="\n"*2) print([i for i in dir(dict) if not i.startswith("__")])
9th Dec 2020, 1:09 PM
Ratnapal Shende
Ratnapal Shende - avatar