Home
Python
2D
Application
Buildin Function
Class
Data Structure
Data Type
Database
Development
Dictionary
Event
Exception
File
Function
GUI Pmw
GUI Tk
Language Basics
List
Math
Network
String
System
Thread
Tuple
Utility
XML
oct and hex function : Int « Data Type « Python
Python
Data Type
Int
oct and hex function
print oct(64), hex(64), hex(255)
Related examples in the same category
1.
Define and use int
2.
Int: modulus (remainder), power
3.
A value as a condition
4.
Define and use integer
5.
Int value demo
6.
Convert String to integer (int)
7.
Using Python as a Calculator
8.
int function
9.
convert integers to octal and hexadecimal strings with a string formatting expression:
10.
Compare integers using if structures, relational operators and equality operators.