1

I'm doing a simple program for practice, and I've stumbled upon a problem. I want the program to terminate if I don't get a string input, but it isn't working.

            if num_2 != int
                break 

But nothing I try works, what should I do?

0 Answers0