I learned hiragana in memrise.com which Ri (り) has (like in ありがとう) a continuous form .
But in most of the devices Ri has a discreet shape like below:
So I am confused which one is true for handwriting? Are their usage is different?
Thanks for any help.

