10
In the following code:
first_part = 46
last_part = 57
guess = f'{first_part}{last_part}'.encode()
print(guess)
print(type(guess))
But I didn’t understand the code:
guess = f'{first_part}{last_part}'.encode()
I need an explanation or the name of this structure so I can study.
Did any of the answers solve your question? Do you think you can accept one of them? Check out the [tour] how to do this, if you haven’t already. You would help the community by identifying what was the best solution for you. You can accept only one of them. But you can vote on any question or answer you find useful on the entire site.
– Maniero