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
#🔒 my program text (im a begginer)
21 messages · Page 1 of 1 (latest)
@finite sequoia
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.
Closes after a period of inactivity, or when you send !close.
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
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.
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
Time should be imported first
And not later
the import time i set in first ?
i go too the bed
!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)```
good night 💤
i test that and i go too the bed
you have app for run program, me i have pycharm, is good ? and what is the best
Idk, visual studio is used by most people but anything will do
i dont know how use it, i do learn it but its my first day in code, good night bro thanks, see you later
pycharm is great
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.