how can i combine these two lines so the output shows both results next to each other instead of on separate lines? Ive tried multiple things but can't get it to work.
print(data.get('unit').get('type'))
print(data.get('unit').get('name'))
print(data.get('unit').get('type'))
print(data.get('unit').get('name'))