white = '<circle cx="115" cy="115" r="100" fill="whitesmoke" stroke="saddlebrown"/>'
digits = [
- # 1
+ # 1 (unused)
'<path d="M130,85 v60"',
# 2
'<path d="M100,85 h30 v30 h-30 v30 h30"',
f.write("\n")
f.write(white if color == "white" else black)
f.write("\n")
- f.write(digits[number] + ' fill="none" stroke-width="5" ' + ('stroke="red"' if color == "white" else 'stroke="orange"') + '/>')
- f.write("\n")
+ if number >= 1:
+ f.write(digits[number] + ' fill="none" stroke-width="5" ' + ('stroke="red"' if color == "white" else 'stroke="orange"') + '/>')
+ f.write("\n")
f.write(final)
f.close()