Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 241 Bytes

File metadata and controls

15 lines (12 loc) · 241 Bytes

#programming #programming/python #semester-1

Integers

Integers are whole numbers, and can be both positive or negative.

x = 1
y = 734566222155
z = -23425565

You can cast to an integer using:

x = int(x)