Posts by Gustavo Carvalho • 21 points
1 post
-
1
votes1
answer113
viewsQ: How can I get a program shut down by typing an empty space (' ') into python
How can I make a repeat loop while stopping when the user inserts a blank space (" ")? I tried to do so: while num != '': num = int(input("Insira um número: ")) But the variable is not an integer,…