Module 3 Assignment

Please solve all the question of Module 3 assignment

Dear Learner,
Welcome to LearnVern! We are happy to serve you.

Can you please share what specific issues that you are facing in this assignments?

Keep learning.


Thanks and Regards,
Monik
Team LearnVern.

Mujhe assignment samajh mein nahin aa raha hai, please solve karne mein meri madad karein.

Please solve the assignment 3 question ?

Please send me answers of assignment 3 in python

a=[ ]

n=int(input(“enter the highert number of element :”))

for i in range(1,n+1):

b=int(input(“enter the element of list”))

a.insert(i,b)

# print(a)

for i in a:

print(i)

2

l1=[1,2,3,4,5,6]

l1.remove(3)

print(l1)

3

l1=[‘java’,‘c’,‘cobol’,‘c++’]

l1[2]=‘python’

print(l1)

4

t=(‘python’,1,2,3,‘java’,‘A’,‘B’)

for i in t:

print(i)

print(t[1:5])

print(t[-1])

# 5

T=(1,2,3,4,5,6,7,8)

print(len(T))

x=list(T)

print(x)

6

d={1:‘apple’,2:‘banana’,3:‘mango’}
print(d.keys())
print(d.values())

Bro solve the question no 1 and question no 4