HOW TO PRINT APPEND LIST METHOD IN PYTHON
EXAMPLE OF APPEND LIST METHOD:
For example, let’s extend the string by adding “5” to the list with the method append()
. Using append()
will increase the length of the list by 1.
INPUT:
OUTPUT:
THANK YOU..!!💫
0 Comments