Write a "7" with a bar through it when writing a seven
Similarly, we should arguably also cross our "Z's". That way, there would be even less of a risk in confusing it with the number "2".
Those Germans know what they're doing.
However, I confess I still write the figure "1" without an upward stroke - just the up-and-down slash.