Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.
Login
Login
OnlineGDB Q&A
Questions
Unanswered
Tags
Ask a Question
Ask a Question
How do you use functions in py3?
+7
votes
asked
Sep 19, 2022
by
Komla Sedzro
(
200
points)
I need help with functions in py3
python-3
Please
log in
or register to answer this question.
4 Answers
0
votes
answered
Sep 19, 2022
by
Peter Minarik
(
101,420
points)
Please, check out
this tutorial
on Python functions.
Good luck!
Please
log in
or register to add a comment.
0
votes
answered
Sep 21, 2022
by
Dnayneshwar Chakotkar
(
140
points)
you have to define the function in python by using the def keyword of python then function name and the void for defining the function.
Please
log in
or register to add a comment.
+1
vote
answered
Sep 21, 2022
by
codenxn
(
1,530
points)
def functionName(arguments):
*your code here*
functionName()
Please
log in
or register to add a comment.
0
votes
answered
Sep 24, 2022
by
Pradeep Pant
(
180
points)
def function_name(argument if any): # function definition starts with keyword def
body of funtion
function( value of argument if any ) #function call
Please
log in
or register to add a comment.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...