All is well 3 idiots

AC小小常

【Python函数与模块】(1)函数是什么

1. 是实现具有特定功能的代码

2. Python中有很多内置函数

  print():控制台打印

  input():接收控制台输入

  format():格式化字符串

  list():创建列表

  lower():字符串转小写

  upper():字符串转大写

3. 开发者自定义函数

posted on 2020-04-07 22:15  AC小小常  阅读(153)  评论(0)    收藏  举报

导航