OzoneAsai commited on
Commit
ce573f4
·
1 Parent(s): c2d709e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -251,7 +251,8 @@ elif selected_function == "問題生成":
251
  st.success(f"問題: {problem}")
252
  acr = "{"
253
  acrE="}"
254
- ReProblem =f"sqrt{acr}{s} * ({s} - {side_length}) * ({s} - {side_length}) * ({s} - {side_length}){acrE}"
 
255
  #ReProblem =equation# =# "sqrt({s}*({s}-{side_length})*({s}-{side_length})*({s}-{side_length}))"
256
 
257
  #equation = equation.replace("{sidelength}", str(side_length))
 
251
  st.success(f"問題: {problem}")
252
  acr = "{"
253
  acrE="}"
254
+ ReProblem =f"sqrt({s} * ({s} - {side_length}) * ({s} - {side_length}) * ({s} - {side_length}))"
255
+ ReProblem=str(ReProblem)
256
  #ReProblem =equation# =# "sqrt({s}*({s}-{side_length})*({s}-{side_length})*({s}-{side_length}))"
257
 
258
  #equation = equation.replace("{sidelength}", str(side_length))