Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Calling Function in Python

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 308
    Comment on it

    A function gives name, specifies the parameters which are included in the function and structures have to be included in the blocks of code and function.
    And the basic structure of a function is finalized, we can execute it by calling it from another function or directly from the Python prompt. For example you can see below following example to call printme() function

    def printme( str ):
       "This prints a passed string into this function"
       print str
       return;
    # Now you can call printme function
    printme("Findnerd function!")
    printme("Again second call to the same findnerd function")
    And Output->
    Findnerd function!
    Again second call to the same findneredfunction
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: