sum_formula = (1 + 100) * 100 // 2print("1~100的和为:", sum_formula)
Standard input is empty
('1~100\xe7\x9a\x84\xe5\x92\x8c\xe4\xb8\xba:', 5050)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!