Q2. Write a program to find the sum and average of all numbers in a list. pythonnumbers = [10, 20, 30, 40, 50] Q3. Create a list of numbers and sort it in descending order without using sort() method.
I won't add an index of heading at the top any longer. Recommend to check out the markdown version, which in GitHub can be viewed with a table of content.
In python tuple is an immutable objects means it can not be changed, only we can create. Alike list tuple are a sequence but the difference is tuple use parentheses "()" where as list uses square ...
In Python, tuples are an important type of data structure. They are similar to lists but have a key distinction – they are immutable, which means that once created, their value cannot be changed. This ...