Posts by AAS • 101 points
2 posts
-
10
votes2
answers111
viewsQ: What is the name of this structure in Python?
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 =…
-
0
votes0
answers47
viewsQ: What is the name of the function before the loop for in Python?
Hello I come from the language c++ and java, and I am learning python. I came across the following piece of code: data = {'Player' : ['Wade', 'James', 'Kobe', 'Curry'], 'First' : [10, 10, 8, 12],…