Yes, you can use other numeric data types such as complex() or decimal.Decimal() depending on your specific use case.