Test may args for func def.

This commit is contained in:
Captain ALM 2022-11-30 19:01:49 +00:00
parent 088d603607
commit c83fb46d2f
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1
1 changed files with 7 additions and 7 deletions

14
main.py
View File

@ -1,7 +1,7 @@
#Test While else #Test any number of arg pass (As a tuple)
x = 0 def iaccept(*many):
while x < 10: print(many)
print(x)
x += 1 iaccept()
else: iaccept("Test")
print("Bye") iaccept("Test", 1, 2)