Parth Chawla
@PCcoder256
I see you are interested in visiting in seeing My profile instead of doing your work
So in the last prank I was getting comments that it is not much portable. So I have made a new version of that and now you can copy and paste that in
Python
CodingCactus This isn't a hack or a prank, just print statements. I've also moved it to share3 years ago
So here is a prank below. This only works in original Python IDE.
Please don't run it on repl.it as if you will try to run then the server might crash
Python
So hey there coders, Here is today's question from python daily dose.
Begginers section of questions (Choose any one)
Q1. Make a simple calculator wh
PattanAhmed @ParthChawla Hi,
What's the winner price?
Is it something worth the meaning?
Thanks!3 years ago
Hi guys welcome to python daily dose
Day 4 :
So I did'nt post the daily dose for straight 3 days bcoz You people look like good coders. And As there a
Bookie0 As there are almost no begginers in repl.it
many people on repl.it are beginners
3 years ago
Yesterday, I had given you a question. Unfortunately, Nobody answered it. Guys, If you can't understand the daily dose please comment. Today, I will t
Hi guys, I am here again with a question. Can you tell me that what is the mistake in the repl which I have attached in this post. I wanted that after
Python
PattanAhmed @ParthChawla Hi,
On line 54, press Tab button at the beginning of the line.
That's it.
Thanks!
Hope this helps
3 years ago
Coder100 Quick thing, your code has to be:
image
Because how you are currently doing it, python thinks it is:
if (aa == 'No') or 'no' or 'NO'
which will be always true.3 years ago
Hi guys, I am wondering how to Use the for loops and while loops in python. Please write the full explanation that how did it work and please give me
AhmadHassan7 A While Loop is basically a structure in Python which allows us to loop through and execute a block of code multiple times.
Correct syntax of writing a While Loop:
i = 1
while i <= 10:
print(i)
i+=1
print('Done with While Loop!')
https://www.entechin.com/python-if-else-one-line-statement/2 years ago
AhmadHassan7 Maybe you can understand from here.
https://www.entechin.com/python-if-else-one-line-statement/2 years ago
Welcome to Python daily dose.
DAY 2:
So yesterday, I was asking what to do if I want to store input data in a variable. Well, here is the answer.
SY
CodeLongAndPros Please don't just screenshot your blech Windows /blech ide, and don't just write tiny bits of actual code.3 years ago
userSM This is helpful for beginners, but did you know, instead of taking as screenshot, you could use code blocks, like this. To do this, just put your code in backticks, but for more info, click on the "style your post with markdown" button :)3 years ago
Guys, If you want to practice python with me then comment:
"I want to code
"
I am free everyday from 8 to 9.
I will add you to a team as soon as poss
I am wondering for a long time that how to do a loading animation in python 3 (not 2.7)
PattanAhmed @ParthChawla Hi,
There are different methods like:-
First method:-
import itertools
import threading
import time
import sys
done = False
#here is the animation
def animate():
for c in itertools.cycle(['|', '/', '-', '\\']):
if done:
break
sys.stdout.write('\rloading ' + c)
sys.stdout.flush()
time.sleep(0.1)
sys.stdout.write('\rDone!')
t = threading.Thread(target=animate)
t.start()
#long process here
time.sleep(10)
done = True
Second method:3 years ago
Hello there, welcome to python daily dose
DAY 1
So some of you guys asked me to add more content on my daily dose. Thus I republished it again for yo