Skip to content

Commit 332df41

Browse files
authored
Create vuln.py
1 parent d6bc46a commit 332df41

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎1_snake_game/vuln.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
compute = input('\nYour expression? => ')
2+
if not compute:
3+
print ("No input")
4+
else:
5+
print ("Result =", eval(comp))

0 commit comments

Comments
 (0)