Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
1.00/5 (6 votes)
Hello, i would like to know to what programing language does this code belong.
def vsotaOcen(seznamOcen):
  vsota=0
  for i in seznamOcen:
    if not(i==min(seznamOcen) or i==max(seznamOcen)):
      vsota+=i
  return(vsota)


What I have tried:

I know its one of those: C, C++, C#, Python or PHP. I would apreciate any help.
Posted
Updated 30-May-19 2:25am

The code snippet which you have written in question is of python

Python Functions[^]
 
Share this answer
 
v2
Quote:
What is this programing language called?

I agree with Nirav, it smells like Python.
Python (programming language) - Wikipedia[^]
Python Tutorial[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900