The parameters of Python3 basic functions are variable parameters. The passed parameters are converted to a list, and python3 is variable.
Town Field Poetry:
Listen to the words and give up the world name and benefits. I would like to be a real Tibetan.
I would like to do what I have learned to achieve a conscientious blog. May the rest of the world reproduce the wisdom and purity of the body.
------------------------------------------
Code:
# Def myFun (* argments): values = [x for x in argments] print (values) myFun (, 6)
Result:
============= RESTART: C:/Users/Administrator/Desktop/MyCode. py = [1, 2, 3, 4, 6]>
------------------------------------------
The essence of the blog is a poem in the technical aspect. Python version 3.5, Windows 7.
Python is an excellent language and is worth learning. I learned from the video tutorial of little turtle. We recommend that you.
I am a newbie, so if there are any improvements or even errors in the content of the blog post, please leave a comment. I will try to correct it and strive for a conscience blog.
Note: This article is only for scientific research. If I inadvertently infringe your rights and interests, please be sure to inform me in time and I will make corrections.