Python 3.12 - full course - list - append

Published: 28 April 2024
on channel: Jithesh Kuyyalil
52
0

Welcome!
Python 3.12 complete course - list - append & concatenation
In [11]: # list - append & c
...: oncatenation

In [12]: x = ["a", "p", "p",
...: "l", "e"]

In [13]: x.append("s")

In [14]: x
Out[14]: ['a', 'p', 'p', 'l', 'e', 's']

In [15]: x = ["a", "p", "p",
...: "l", "e"]

In [16]: x + ["s"]
Out[16]: ['a', 'p', 'p', 'l', 'e', 's']

In [17]: x
Out[17]: ['a', 'p', 'p', 'l', 'e']

In [18]: x = x + ["s"]

In [19]: x
Out[19]: ['a', 'p', 'p', 'l', 'e', 's']

Ref: https://docs.python.org/3/tutorial/
My Blog: https://joyoflife.blog


On this page of the site you can watch the video online Python 3.12 - full course - list - append with a duration of hours minute second in good quality, which was uploaded by the user Jithesh Kuyyalil 28 April 2024, share the link with friends and acquaintances, this video has already been watched 52 times on youtube and it was liked by 0 viewers. Enjoy your viewing!