What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-10 08:10:16
doc strings python
def calculator(a,b): """This function add's the input from user""" return a + b #here in the above function from the start to the ending of double colon is a doc string #now you can say docstrings are description of y... Add solution -
Python 2021-09-14 12:02:02
arrow in python function
""" The arrow in python functions denotes the return value of the function. Note that the arrow doesn't enforce anything, and nothing prevents a developer from returning some value that isn't what is indicated. Obviously, this is bad practi... Add solution -
Python 2021-09-10 15:03:02
download python
Here is a basic Python function print('Hello') Add solution