Python for Testers #13 - List Methods in Python

preview_player
Показать описание
In this Python for Testers Tutorial we will learn about List methods in Python. List data type methods in Python help us to manipulate list elements. We can use python list functions to add an item to the end of the list, insert an item at a given position, remove the first item from the list and many more operations can be done with built in list methods of Python.

In this Python Tutorial we will learn following list methods.

Python list functions and methods are explained in details in this Python tutorial.

Disclosure: Some links are affiliate links to products. I may receive a small commission for purchases made through these links.

Help me in spreading the knowledge, please hit LIKE, SHARE, and SUBSCRIBE for the latest tutorials. More tutorial playlists below:

🔶 ENROL IN MANY FREE TRAININGS ON RCV ACADEMY PORTAL 🔶

🔶 FOLLOW US ON TWITTER 🔶

🔶 LIKE US ON FACEBOOK 🔶

🔶 OUR TUTORIAL WEBSITES 🔶

🔶 GET MY TRAININGS ON UDEMY 🔶

#PythonForTesters #PythonTutorial #PythonForBeginners #Python #SeleniumPythonTutorial #TestAutomation #RcvAcademy #SoftwareTestingMentor

Join this channel to get access to perks:
Рекомендации по теме
Комментарии
Автор

Sir, if possible also suggest some small practice exercise, by solving we can clearly understand the logic and how can it be used in automation.

kuntallaha
Автор

Hello sir. How do design a test script from pseudocode to code? Can you please explain?

agoogleuser
Автор

Hi Sir, When executing below code for Sort() it always returns none.

cities = ["Sydney", "Delhi", "Mumbai", "melborne", "Kolkata", "Amehdabad"]


print(cities.sort())

raghuprasad
Автор

When clearing the list using clear method don't print or assign it to any variable list it will return None always, that is not correct, once list is cleared it should return the empty list.

Incorrect:
>>print(newcities.clear())
>>None


>>print(updatedcities)
>>None

Correct :
>>newcities.clear()
>>print(newcities)
>>[ ]

trusharmohanty