Nov 27, 2021 at 8:53am
Last edited on Dec 26, 2021 at 9:35am
Nov 27, 2021 at 9:47am
string e ="FT" + to_string(ht) + "\r\n";
which, to be honest, is what I'd have done in Python.
Last edited on Nov 27, 2021 at 11:44am
Nov 29, 2021 at 6:30pm
Just as a Python FYI, f-strings are more elegant, and easier to read, than using the
format() function:
1 2 3
|
ht = 10
e = f'FT{ht}\r\n'
|
Last edited on Nov 29, 2021 at 6:30pm