The secret word is not displaying, what can I do?

Solved/Closed
v.b.06 -  
 elevedeprime -
Hello, I have an assignment and I need to find a secret word but I'm struggling, can you please help me?
Here is the program:
toto=""
message="The secret word is: "
for num in [66,79,82,78,69]:
toto=toto+chr(num)
print(message)

Configuration: Windows / Chrome 97.0.4692.99

1 réponse

jee pee Posted messages 31928 Registration date   Status Modérateur Last intervention   9 952
 
Hello, and if you displayed toto which contains the expected string

--
        a stranger is a friend we haven't met yet.
-5
Emmx
 

how do we display ??

13
jee pee Posted messages 31928 Registration date   Status Modérateur Last intervention   9 952 > Emmx
 

how can one use Python without knowing how to display the content of a variable ?????????????????????????????????

-92
Grandasse_ Posted messages 948 Registration date   Status Membre Last intervention   607 > jee pee Posted messages 31928 Registration date   Status Modérateur Last intervention  
 

Hello,

It seems you already know how to display "message", you just need to do the same for "toto", right?

-9
elevedeprime > jee pee Posted messages 31928 Registration date   Status Modérateur Last intervention  
 

Hello, we suck, we just have no choice, it's for school.

24