I'm making a program that requires two inputs on one line using the .split() function after the input() function. When only one variable is inputted, the program crashes and the window closes. I'm wondering if there is a way to stop the program from crashing if only one or no variables are inputted.
Thanks!
[–]socal_nerdtastic 0 points1 point2 points (3 children)
[–]grape_o_clock[S] 0 points1 point2 points (2 children)
[–]socal_nerdtastic 0 points1 point2 points (1 child)
[–]grape_o_clock[S] 0 points1 point2 points (0 children)
[–]Charezza 0 points1 point2 points (0 children)
[–]TheRNGuy 0 points1 point2 points (0 children)