armargolis commited on
Commit
64749ad
1 Parent(s): e3e2932

Changing output

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,9 +23,9 @@ try:
23
 
24
  # Print the results
25
  st.write("Input date:", date.strftime("%Y-%m-%d"))
26
- st.write("Next multiple of 500:", delta_days, "days on", next_multiple.strftime("%Y-%m-%d"),"\n")
27
  for i, date_after in enumerate(dates_after):
28
  st.write(f"{day_list[i]} days after input date:", date_after.strftime("%Y-%m-%d"))
29
 
30
  except ValueError:
31
- st.write("Date should be in format yyyy-mm-dd")
 
23
 
24
  # Print the results
25
  st.write("Input date:", date.strftime("%Y-%m-%d"))
26
+ st.write("Next multiple of 500:", str(delta_days), "days on", next_multiple.strftime("%Y-%m-%d"),"\n")
27
  for i, date_after in enumerate(dates_after):
28
  st.write(f"{day_list[i]} days after input date:", date_after.strftime("%Y-%m-%d"))
29
 
30
  except ValueError:
31
+ st.write("Write date in format yyyy-mm-dd")