x = ['a','b','c','d']

y = []
l = []
y.append(x[0])
y.append(x[1])

print(x)
print(y)

print("---------------")

#slicing ===> axtract the data from list

z = x[2:4]
t = x[:2]
u = x[-1] #access the last element
r= x[:-1] #0 idala -1 wenakan..ekedi last elemant eka ganne ne   [starting index: ending index]

message = "My name is Praneeth"
msg = message[-8:] + " is " + str(message[:7]).lower() + "."
print(msg)


print(z)
print(t)
print(u)
print(r)
print(len(x))

#Summary
# list
x = [1,2,3,4]
# Dictionary
y = {"1":1}
#set
z = {"1","2"}
#tuple
a = {"1",12,True}

# String ekak kiyanneath charachtor set ekak
b = "Hello World"

f44f07dabfb6e76505466de38bf1ce84aeffd188
<mask token>

<mask token>
y.append(x[0])
y.append(x[1])
print(x)
print(y)
print('---------------')
<mask token>
print(msg)
print(z)
print(t)
print(u)
print(r)
print(len(x))
<mask token>

x = ['a', 'b', 'c', 'd']
y = []
l = []
y.append(x[0])
y.append(x[1])
print(x)
print(y)
print('---------------')
z = x[2:4]
t = x[:2]
u = x[-1]
r = x[:-1]
message = 'My name is Praneeth'
msg = message[-8:] + ' is ' + str(message[:7]).lower() + '.'
print(msg)
print(z)
print(t)
print(u)
print(r)
print(len(x))
x = [1, 2, 3, 4]
y = {'1': 1}
z = {'1', '2'}
a = {'1', 12, True}
b = 'Hello World'

x = ['a','b','c','d']

y = []
l = []
y.append(x[0])
y.append(x[1])

print(x)
print(y)

print("---------------")

#slicing ===> axtract the data from list

z = x[2:4]
t = x[:2]
u = x[-1] #access the last element
r= x[:-1] #0 idala -1 wenakan..ekedi last elemant eka ganne ne   [starting index: ending index]

message = "My name is Praneeth"
msg = message[-8:] + " is " + str(message[:7]).lower() + "."
print(msg)


print(z)
print(t)
print(u)
print(r)
print(len(x))

#Summary
# list
x = [1,2,3,4]
# Dictionary
y = {"1":1}
#set
z = {"1","2"}
#tuple
a = {"1",12,True}

# String ekak kiyanneath charachtor set ekak
b = "Hello World"
