@ -3244,9 +3244,8 @@ If user enter a non-integer value it will raise exception and using except it wi
while True:
try:
a = int(input("please enter an integer value: "))
print(a)
break
except:
except ValueError:
print("Ops! Please enter a valid integer value.")
```
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.