CodeW3C Online Tutorial
HTML Series Tutorial
Browser Script
Server Script
Programming Tutorial
XML Series Tutorial
Website Handbook
Reference Manual
Course Schedule
Python Tutorial
Python Tutorial
Python Introduction
Python Basics
Python Syntax
Python Comments
Python Variables
Python Data Types
Python Numbers
Python Casting
Python Strings
Python Boolean
Python Operators
Python Lists
Python Tuples
Python Sets
Python Dictionaries
Python If Else
Python While Loop
Python For Loop
Python Functions
Python Lambda
Python Arrays
Python Class/Object
Python Inheritance
Python Iteration
Python Scope
Python Modules
Python Date
Python JSON
Python RegEx
Python PIP
Python Try Except
Python Command Input
Python String Formatting
File Handling
Python File Open
Python File Read
Python File Write/Create
Python File Delete
Python NumPy
NumPy Introduction
NumPy Basics
NumPy Array Creation
NumPy Array Indexing
NumPy Array Slicing
NumPy Data Types
NumPy Copies/Views
NumPy Array Shape
NumPy Array Reshaping
NumPy Array Iteration
NumPy Array Joining
NumPy Array Splitting
NumPy Array Searching
NumPy Array Sorting
NumPy Array Filtering
NumPy Random
NumPy ufuncs
Machine Learning
入门
Mean Median Pattern
Standard Deviation
Percentile
Data Distribution
Normal Data Distribution
Scatter Plot
Linear Regression
Polynomial Regression
Multiple Regression
Scaling
Training/Testing
Decision Tree
Python MySQL
MySQL 入门
MySQL Create Database
MySQL Create Table
MySQL Insert
MySQL Select
MySQL Where
MySQL Order By
MySQL Delete
MySQL Drop Table
MySQL Update
MySQL Limit
MySQL Join
Python MongoDB
MongoDB 入门
MongoDB 创建数据库
MongoDB 创建集合
MongoDB Insert
MongoDB Find
MongoDB Query
MongoDB Sort
MongoDB Delete
MongoDB 删除集合
MongoDB Update
MongoDB Limit
Python 参考手册
Python 参考概览
Python 内建函数
Python 字符串方法
Python 列表方法
Python 字典方法
Python 元组方法
Python 集合方法
Python 文件方法
Python 关键字
模块参考手册
随机模块
请求模块
Python How To
删除列表重复项
反转字符串
Python 实例
Python 实例
Python 测验
选修课
课程推荐:
CodeW3C.com 百宝箱
English
中文
繁體中文
Русский
Français
Deutsch
Español
Português
日本語
한국어
Italiano
عربي
हिंदी
বাংলা
Bahasa Malaysia
မြန်မာ
Tiếng Việt
ภาษาไทย
ລາວ
Bahasa Indonesia
اردو
Hausa
Język polski
ਪੰਜਾਬੀ
Svenska
Dansk
Nederlands
Türkçe
suom.
Ελληνικά
فارسی
Kiswahili
తెలుగు
wikang Galu
Python bin() 函数
Python 内建函数
实例
返回 67 的二进制版本:
x = bin(67)
运行实例
定义和用法
bin() 函数返回指定整数的二进制版本。
结果将始终以前缀 0b 开头。
语法
bin(
n
)
参数值
参数
描述
n
必需。整数。
Python 内建函数
工具箱
Python 参考手册
Python 实例
Python 测验
赞助商链接