Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Input an array and then print the repeating characters??
Example:
Input:1,3,23,11,44,3,23,2,3.
Output:3,23
plz help me.... i want a code of it. In C language.

Answer Posted / saurabh singh

n = [int(x) for x in input().split()]
for i in range(len(n)):
for j in range(i+1, len(n)):
if n[i] == n[j]:
print(n[i])

#saurabhsingh

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Current/most recent employer (Please state full names and address including Country and post code) Current Position Held When would you be available to start work? ONLINE INTERVIEW [INSTRUCTIONS: Give brief answers to all the under listed questions] QUESTIONS ANSWER SPACE 1) What are your years of experience? 2) How do you approach a technical problem? Give an example. How long do you think it would be before you will make a significant contribution to the team/company?

1411


If p/q = 5/4 , then 2p+q= ?

1915


In a arithmetic reason 10,9,60,90,70 and 66.. .whats the next number with conclusion

2062


If Ever + Since = Darwin then D + a + r + w + i + n is ?

4118


5 thieves stole diamonds in following way 1st stole half +2 2nd remaining half +2. for 5th there was no diamond how many diamond were there initially

1187


Difference between the perimeters of two concentric circles is 66. Find the difference between radius.

1412


A beats B by 10 meters and B beats C by 15 metres the A beats C by

1143


Can you find out what day of the week was January 12, 1979?

1427


Factorize y**2 + 8y - 48 =0

1301


A clock is late by 1 minute 27 seconds in a month. Then how much will it be late in 1 day?

1773


Find the value of @@+25-++@16, where @ denotes "square" and + denotes "square root".

2547


Two circles , one circle is inscribed and another circle is N outscribed over a square. What is the ratio of area of inner to outer circle.

1347


two trees are there. one grows at 3/5 of the other. in 4 years, total growth of trees is 8 ft. what growth will smaller tree will have in 2 years.

1316


1,2,3,4,5,6,7,8,9 station. route between any 2 station is there only if the 2 digit nob. is divisible by 3. e.g. route exist between 1 to 2 because 12 is divisible by 3 how many station have routes to 8 either direct or indirect

1181


A boy scores 9 marks more than his friend in an exam and has 56% marks of the total of their marks. Calculate the marks scored by each of them.

1261