Skip to content

Tag: check

How can I check if the user input is a string

I’m trying to check if the user inputs a string. If the user inputs a string, my program should output an error message. If the user enters an integer my program should proceed with the program Here’s my code so far, I need to add another condition to check if the user inputs string, I tried some methods but they