Those values are tuples in the code above.
sometext = str(('B:', int(delta.degrees), 'D:', int(delta.magnitude)))
sometext = f'B: {delta.degrees}, D: {delta.magnitude}'
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.