help4code-logo
  • eLearning
    • Tutorials
    • Programs
    • Interview Questions
    • Technical Questions
    • C Language
    • C++
    • JAVA
    • HTML & CSS
    • PHP
    • AJAX
    • J2EE
    • SQL
    • jQuery
  • Go back to Home
  • Our Placements
  • Tutorials
  • Programs
  • Interview Questions
  • Technical Questions
  • Live Training
  • Our Placements
  • Associated Colleges
  • Our Recruiters
  • Back
  • C Language
  • C++
  • JAVA
  • HTML & CSS
  • PHP
  • AJAX
  • J2EE
  • SQL
  • jQuery

Programs

  1. Home
  2. Programs
  3. Python
  4. Functions
Image

Programs - Python - Functions

  • Programs
    • WAP for simple function example
    • WAP for function with argument
    • WAP for function calling
    • WAP for function with default argument
    • WAP for function with unknown argument
    • WAP for addition and product of numbers
    • WAP to find HCF
    • WAP to find factorial of numbers using recursion
    • WAP to display fibonacci sequence using recursion
    • WAP to calculate the sum of numbers from 0 to 10 using recursion
    • WAP to find max of three number
    • . WAP to reverse a string
    • WAP to checks whether a passed string is palindrome or not
    • WAP to subtract two complex numbers
    • WAP to find simple interest.
    • WAP to find sum of square of first n natural numbers

Program:

def welcome(): # called function
print("Welcome to summer internship")

welcome() # calling function

Output:

Welcome to summer internship
Help4Code

The help4code.com - An e-learning educational website where all computer science students can find rich collection of computer language programs which will help in exploring computer programming.

  • About
  • Associated Colleges
  • Leadership
  • Careers
  • Our Recruiters
  • Community
  • Terms
  • Privacy
  • Help
  • Press
  • Contact
  • Directory

First Floor, Plot No. 4, Near Shat Ayu College, Ring Road Nagpur, Maharashtra, India - 440022
+91 9175287066[email protected]

© Copyright 2022 help4code.com.

  • My Account
  • Sign-in
  • Sign-up