Computer Science, asked by vermanisashank, 6 months ago

What is the difference between c[:] and
c[:-1] assuming c is a list?

Answers

Answered by taraniamulu
1

Explanation:

Main difference: C was originally developed by Dennis Ritchie at AT&T Bell Labs between 1969 and 1973. It has a free-format program source code. C is a general-purpose programming language. C is one of the oldest currently used programming languages and is one of the most widely used programming languages. ANSI C is a set of successive standards which were published by the American National Standards Institute (ANSI) for the C programming language. The ANSI specifies the syntax and semantics of programs written in C.

Answered by nishushrm
11

Explanation:

c[:] = []

c[:-1] = it gives you data from index to last thing in string

hope so

mark as brainlist and follow me

Similar questions