python how to get division code example Example: division in python #/ is the division symbol in Python, so: print(12 / 3) #output: 4