Update code.py

added triple formats