Write a program to append a value 99 to the given list A.
Answers
Answered by
0
Answer:
A list is a value that contains multiple values in an ordered sequence. The term list value refers to the list itself (which is a value that can be stored in a variable or passed to a function like any other value), not the values inside the list value. A list value looks like this: ['cat', 'bat', 'rat', 'elephant']. Just as string values are typed with quote characters to mark where the string begins and ends, a list begins with an opening square bracket and ends with a closing square bracket, []. Values inside the list are also called items. Items are separated with commas (that is, they are comma-delimited). For example, enter the following into the interactive shell:
Explanation:
salonikumar060:
In python
Similar questions
India Languages,
1 month ago
Chemistry,
1 month ago
Math,
1 month ago
Math,
8 months ago
Social Sciences,
8 months ago