Ok... Lots of problems here. Lets start with some basic syntax stuff.
First of all, you need to go back and look at how formatting works in Python. It works in spaces of four, which is the equivalent of 'tab' if you are in the right processor. When you are defining a function, everything that will be contained in that function should be AT LEAST 4 spaces out. in your function "getWordForTwoDigits()" you have this:
def getWordForTwoDigits(amount):
...
return ...
That return should be four spaces out (you did this for both of your functions, BTW).
Second, your else-if structure is screwy and unneeded. Instead of what you have now, just do this:
if TensAmount == 1:
do something
elif TensAmount == 2:
do something different
Then just add more 'elif's down to 9.
Also, you say
singlesWord = getWordForDigit(int(amount)%10)
but you never define that function.
For you actual question of how to separate the 196 and the 97, try something like this:
def splitter(num):
sep=str(num).rsplit('.', 1)
return sep
The 'rsplit' basically splits the string into two parts based on the char in the first param. It returns a list ["partone", "parttwo"], so you will need to extract the two parts of the list and convert them back to ints in your main code.
Hope that helps!