Write a python program to take 10 values from user. The values
are given below:
myValues = 3,6,7,9,3,6,8,3,5,10, 19,0,1,0,15

1. Print the sum of those numbers which are at odd positions and
the division of the even index numbers.
2. Remove the duplicate numbers and place some random number
between (20 to 30) instead of that number, and store in this way
that no one can edit these values later.

Recommended Answers

All 2 Replies

Show us what you have so far and where you are stuck. Also, because of the ambiguity of the spec, please state what output you expect.

do you still need help ? or is it solved?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.