当前位置:网站首页>Built in functions 123
Built in functions 123
2022-04-22 02:59:00 【Melon eating crowd + 1】
list = [1,2,3,4,5,6]
dict = {‘a’:3,“b”:2}
set = (1,2,3,4)
list2 = [(1,2),(2,3),(3,4)]
# Sum function :sum
#len(): Method returns the object ( character 、 list 、 Tuples etc. ) length
str = ‘abcdefg’
print(len(str))
#sorted(): You can sort all iterable objects
#max(): Return maximum
#min(): Return minimum
print(min(list2))
#divmod: division , Remainder and quotient
print(divmod(10,3))
版权声明
本文为[Melon eating crowd + 1]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220257271731.html
边栏推荐
- Open a new space for development with digital "key"
- Why does MySQL index use B + tree instead of jump table?
- Wordpress blog Building Guide
- 区间合并板子
- JS table sorting
- Flutter04 widget initial experience
- Source code encryption Product Guide
- Problem brushing plan -- dynamic programming (II)
- class数组的类似常量定义
- kerberos认证协议
猜你喜欢

Niu Ke's entry record of C language

Creation of circular linked list and controllable output

Complete solution of closure operation in Discrete Mathematics

【今晚七点】metaRTC的发展和应用场景探讨

I'm going to start learning canvas

Redis事件驱动框架(上):何时使用select、poll、epoll?

Pytorch image classification: the official demo of pytorch implements a classifier (lenet)

Playing with ABP framework -- translating mastering ABP framework

mysql 允许在一条SELECT语句中多次使用相同的表

苹果表主题图片爬取!
随机推荐
7、Request_Response
Another perspective on the meta universe: the meta universe culture is quietly changing the world
Quick start NFT from technical principle, mainstream platform and market prospect
72. 编辑距离
安装部署phpStudy+DVWA漏洞演练平台
Software testing · bad taste
Text processing - sed
Nocalhost for dapr remote debugging
How did opensea become the most popular NFT market?
DOS 命令行基本命令及实践
Friends don't see how to add, write it down first.
(进阶用法) C语言字符串函数
After the asynchronous operation, let the subsequent code of await continue to execute
Open a new space for development with digital "key"
使用Xamarin编写一个精美的APP登录注册界面
Use zlib to compress and decompress the stream and judge whether it has been compressed
Buy a Tencent cloud server to play
JS table sorting
二十八.内置模块
class数组的类似常量定义