There are many ways to splice strings and variables in output statements. I wrote three of them that I used most. Take your code as an example, the test screenshot is as follows:
-
I hope it can help the subject. Welcome to ask questions