Hello.
I've got a simple problem i can't find a solution to, although i know it's something very simple.
Okay how can i return an error message when having the user input something, but they dont enter anything and just press enter, i'm thinking along the lines of like:
x = input("Type something: ")
if x == null:
print("you didn't enter anything")
But yeah i need to know what you would type to signify like nothing/no data. Or perhaps there is a way to do it via except statements.
Could anyone shed some light on this for me?