We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 733185a commit df40c9fCopy full SHA for df40c9f
Alert Box With Python.py
@@ -0,0 +1,6 @@
1
+import pyautogui
2
+num=int(input("Enter a value to divide 100"))
3
+if num == 0:
4
+ pyautogui.alert(" Alert!!! 100 cannot be divided by 0")
5
+else:
6
+ print(f'The value is {100/num}')
0 commit comments