clear

utkarsh = [1, 2, 3, 4]
print('utkarsh before clearing:', utkarsh)
utkarsh.clear()
print('utkarsh after clearing:', utkarsh)

Comments