Update basics.py