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.
xyzwd
0
Newbie Poster
Recommended Answers
Jump to PostShow 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.
All 2 Replies
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
CodeWorked
0
Newbie Poster
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.