stkarlos commited on
Commit
9adbe8d
·
verified ·
1 Parent(s): 8561b1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,8 +27,8 @@ def my_fairytale_tool(arg:int)-> str: #it's import to specify the return type
27
  ]
28
 
29
  # Randomly select fairytales from the list
30
- selected_1 = fairytales[int(arg / len(fairytales))]
31
- fairytales.pop(int(arg / len(fairytales)))
32
  selected_2 = fairytales[random.randint(0,len(fairytales)-1)]
33
 
34
  return f"Title to draw: What a crazy idea to see a story of {selected_1} vs {selected_2}!"
 
27
  ]
28
 
29
  # Randomly select fairytales from the list
30
+ selected_1 = fairytales[int(arg // len(fairytales))]
31
+ fairytales.pop(int(arg // len(fairytales)))
32
  selected_2 = fairytales[random.randint(0,len(fairytales)-1)]
33
 
34
  return f"Title to draw: What a crazy idea to see a story of {selected_1} vs {selected_2}!"