Amount in words in single line

I want amount in words in a single line…Help me for this !!

Import predefined function

from frappe.utils import money_in_words

fieldname = money_in_words(amount, self.company_currency)