#🔒 my program text (im a begginer)

21 messages · Page 1 of 1 (latest)

finite sequoia
#
print(" ("import time
print("hello")
time.sleep(1) # pause de 1 seconde

print("oh wait..")
time.sleep(2) # pause de 2 secondes

print("SYSTEM HACKED")
time.sleep(1) # pause de 1 seconde

print("wait 3 seoncds and system been hacked")
time.sleep(2) # pause de 2 secondes

import time
import sys

for i range (1,4):
    print(i) end="\r",, flush=True
    time.sleep(1) # pause de 1 seconde

    print("tralalelo tralala")
    time.sleep(4) # pause de 4 secondes)```


my code doesn't work, who can correct me pls (dm me or add me for help me or ping me in #python-discussion
lyric sierraBOT
#

@finite sequoia

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

finite sequoia
#
print(" ("import time
print("hello")
time.sleep(1) # pause de 1 seconde

print("oh wait..")
time.sleep(2) # pause de 2 secondes

print("SYSTEM HACKED")
time.sleep(1) # pause de 1 seconde

print("wait 3 seoncds and system been hacked")
time.sleep(2) # pause de 2 secondes

import time
import sys

for i range (1,4):
    print(i) end="\r",, flush=True
    time.sleep(1) # pause de 1 seconde

    print("tralalelo tralala")
    time.sleep(4) # pause de 4 secondes)```


my code doesn't work, who can correct me pls
marsh thunder
#

You don't appear to have said what the problem is, but the first line has invalid syntax.

#

When asking for help, always say what the problem is.

weary cloak
#

you aren’t properly importing time

#

you’ve accidentally put print before it, so remove everything up to import

#

and remove the import from down below

knotty canyon
#

And not later

finite sequoia
#

i go too the bed

knotty canyon
# finite sequoia the import time i set in first ?

!e

import time
import sys
print("hello")
time.sleep(1) # pause de 1 seconde

print("oh wait..")
time.sleep(2) # pause de 2 secondes

print("SYSTEM HACKED")
time.sleep(1) # pause de 1 seconde

print("wait 3 seoncds and system been hacked")
time.sleep(2) # pause de

for i range (1,4):
    print(i) end="\r",, flush=True
    time.sleep(1) # pause de 1 seconde

    print("tralalelo tralala")
    time.sleep(4) # pause de 4 secondes)```
finite sequoia
#

good night 💤

finite sequoia
finite sequoia
knotty canyon
finite sequoia
lyric sierraBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.