当我学习python时,我创建了这段代码,但问题是,当有人键入与stm或mts不同的内容时,它只会打印错误消息并停止,我需要它继续并自行重新运行代码,所以我添加了一个with循环,但它不能正常工作--它只是不断地垃圾发送错误消息result: ", amount, "SAR")
usChoice = str(input("For SAR to MAD type stm and for MAD to SAR type mtsrial_saudi_to_moroccan_dirh
| not null default nextval('candle_id_seq'::regclass) | plain | | crypto_trader_db=> select id, mts from candle where (pair_timeframe_id = 5) and mts >='2018-03-18 07:21:00' ORDER BY mts;
id |