Upload files to ''
parent
f0cb46696e
commit
4e932e2cd9
@ -0,0 +1,8 @@
|
|||||||
|
# In this example, I use def to define the function name (names_of_fruits),
|
||||||
|
# the parameter is (fruits)and the argument is ("name of fruit is: % s" % fruits)
|
||||||
|
|
||||||
|
def names_of_fruits(fruits):
|
||||||
|
print("name of fruit is: % s" % fruits)
|
||||||
|
|
||||||
|
names_of_fruits('Apple')
|
||||||
|
|
Loading…
Reference in New Issue