Web Application Technologies and Django, (string that looks like 53656C696E613333) 2022

Viewed 18

my wish is to know exactly what are asking for in this part of the final exercise of week 5 of the course (Web Application Technologies and Django University of Michigan).

enter image description here

enter image description here

I understand that I have to run the above in pythonanywhere and... 1) I don't know if I have to enter the same code written there in the text box above, 2) I have to enter the outputs of said code in the text box, 3) I have to enter in the text box the code corresponding to the question shaded in blue in the image or its output or the code of the question with the output???

Besides, if possible, I would like to know what exactly asks that question. I don't know if I should update the first value of the table so that its hexadecimal (name, age) returns that "53656C696E613333" or something else. I appreciate the help.

1 Answers

Just follow the instructions that is copy and past and the execute the code as is.

The last will result in 4 rows the first of which will start with 4A6 (4A being the hexadecimal for the character J).

The returns something like "53656C696E613333" is just saying that instead of getting something like Nawel23 the output will be the hexadecimal representation of characters. i.e. the result of applying the hex function to the name and age columns concatenated.

Related