FAQs
We recommend that you take a look at the following FAQs to get a good grasp of some of the key aspects of Python. These are a part of the FAQs listed on the official Python website. Since there are many FAQs, we have selected a small number of them that are relevant to our course.
Important FAQs
- What is the difference between arguments and parameters?
- Why did changing list ‘y’ also change list ‘x’?
- How do I write a function with output parameters?
- How do I copy an object in Python?
- How do I convert a string to a number?
- How do I convert a number to a string?
- What is the most efficient way to concatenate many strings together?
- How do I convert between tuples and lists?
- What’s a negative index?
- How do I iterate over a sequence in reversed order?
- How do you remove duplicates from a list?
- How do you remove multiple items from a list?
- How do I create a multidimensional list?
- How do I apply a method or function to a sequence of objects?
- Why does a_tuple[i] += [‘item’] raise an exception when the addition works?
Advanced FAQs
These are for those interested in getting a better understanding of some aspects of the language.