How To Use The Clear List Method In Python 3

preview_player
Показать описание

Be sure to like, share and comment to show your support for our tutorials.

=======================================
======================================

Have you ever wondered how to clear all the objects contained in a Python list? We will show you how to do so using the clear list method in Python.
Рекомендации по теме
Комментарии
Автор

Hi again!
if i use a.clear( ) I'm getting an error with "list object has no attribute 'clear' "
if i use b.copy( ) I'm getting an error with "list object has no attribute 'copy' "
Need your help!

symphonies