-

   rss_habrahabr

 - e-mail

 

 -

 LiveInternet.ru:
: 22.11.2006
:
:
: 2

:


[ ] C

, 20 2015 . 23:54 +

. , , . , , C# Python.

Python :

#  
#    ,      
def volume(length=1, width=1, height=1): 
  return length * width * height; 
print(volume())                            # V = 1 
print(volume(length=2))                    # V = 2 
print(volume(length=2, width=3))           # V = 6 
print(volume(length=2, width=3, height=4)) # V = 24

. , . , , . C , , , .

, C.

http://habrahabr.ru/post/248385/

:  

: [1] []
 

:
: 

: ( )

:

  URL