Whats is the difference between a function and a procedure?

A procedure is a named set of instructions that can be called on by throughout the program.A function is a procedure that returns a value.Both functions and procedures can take parameters.

JH
Answered by James H. Python tutor

8270 Views

See similar Python Mentoring tutors

Related Python Mentoring answers

All answers ▸

how to compute the factorial of a number.


Use recursion to print all the sublists of a given list


Write a python function that takes a string as parameter and returns the character in the string with the most occurrences, along with the number of times this character occurs


What's the difference between a local and a global variable?


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning