question archive 1) What are the functionalities of the following methods: str
Subject:Computer SciencePrice: Bought3
1) What are the functionalities of the following methods: str.count(), str.join(), str.endswith(), str.split() 2. When do we use str.capitalize()? Give an example. 3. What are the differences between sort() and sorted(). For the answer create a table and write the differences. (at least 2 ) 4. What is sorting? why do we use it in programming? Give an example of sorting from your daily life. 5. When do we use the () and [ ]