3.4_函数_Function_Part_2
repeated_strings = repeat_str("Happy Birthday!")
repeated_strings_2 = repeat_str("Happy Birthday!" , 4)
Happy Birthday!Happy Birthday!Happy Birthday!Happy Birthday!
print('a is', a, 'and b is', b, 'and c is', c)
a is 13 and b is 17 and c is 8
a is 125 and b is 4 and c is 24
a is 80 and b is 4 and c is 40
def print_paras(fpara, *nums, **words):
print_paras("hello", 1, 3, 5, 7, word = "python", anohter_word = "java")
words: {'word': 'python', 'anohter_word': 'java'}
🐳 作者:hiszm 📢 版权:本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,万分感谢。 💬 留言:同时 , 如果文中有什么错误,欢迎指出。以免更多的人被误导。 |
![]() |