TULLUS commited on
Commit
ee99394
·
verified ·
1 Parent(s): e99c306

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -649,8 +649,7 @@ with gr.Blocks(
649
  ["public static int factorial(int n) {", "Java"],
650
  ["int calculate_sum(", "C++"],
651
  ["function formatUser(user: User) {", "TypeScript"],
652
- ["Write a Python function that checks whether a string is a palindrome.", "Python"],
653
- ],
654
  inputs=[prompt_box, language],
655
  label="Docking bay / starter prompts",
656
  )
 
649
  ["public static int factorial(int n) {", "Java"],
650
  ["int calculate_sum(", "C++"],
651
  ["function formatUser(user: User) {", "TypeScript"],
652
+ ["def is_palindrome(s):", """Return True if s reads the same forwards and backwards, ignoring capitalization and punctuation.""", "Python"],
 
653
  inputs=[prompt_box, language],
654
  label="Docking bay / starter prompts",
655
  )