Skip to content
Sign UpLog In
Profile icon

Charan V

@panniu
Hello
Repls
Community
panniu
panniu
shared a Post
4 years ago
Python print on the same line with a delay
So I was trying to make a game and I used this function: import time, random def typer(string): string = list(string) for char in string:
20Aggett
20Aggett
import sys from time import sleep def slowprint(text): for x in text: print(x, end='') sys.stdout.flush() sleep(0.1) #try this1 year ago
AlexanderMiles
AlexanderMiles
hi2 years ago
pyelias
pyelias
Add , flush=True to the print() and it will work. This is because most terminals (including repl.it's) are line buffered, and will not update what is shown on the screen until a newline is printed. flush=True forcibly updates the screen without waiting for a newline.4 years ago
panniu
panniu
shared a Post
5 years ago
Game : https://car-game--panniu.repl.co/ or http://cargame.atwebpages.com/ Code : https://repl.it/@panniu/CarRaceGame
steve7876
steve7876
I think should have a scoreboard https://vintage-caravans.com.au/product-category/doors/1 year ago
HeerokDas
HeerokDas
It should have a scoreboard5 years ago
panniu
panniu
shared a Post
5 years ago
This is not just an anagram checker, but better!! https://repl.it/@panniu/Anagrams
panniu
panniu
shared a Post
5 years ago
https://repl.it/@panniu/Guess-your-number
replcoder1
replcoder1
I guessed 53 and i thought i got 37, after trying it 3 times5 years ago
panniu
panniu
shared a Post
5 years ago
http://panniu.repl.co/90s-Christmas-Countdown/ Use Chrome to check custom scroll-bar.
panniu
panniu
Update: To make it look more '90s style, I removed some details and added new stuff.5 years ago
haya
haya
oh cool! the countdown should be the home page, with red theme and green and Santa and snow. Add more things to it and make it cluttery and flashy :\)5 years ago
panniu
panniu
Oops!! mine is a little off. Not exactly '90s then ¯\\(ツ\)/¯5 years ago
panniu
panniu
shared a Post
5 years ago
https://repl.it/@panniu/Language-Translator Leave a comment for any suggestions or any languages I am missing.
LoganB2
LoganB2
where is pig latin2 years ago
haya
haya
love it, this is very cool. We're building a better community to have your repls exposed in better algorithms5 years ago
panniu
panniu
Sorry the setup takes sometime5 years ago
panniu
panniu
shared a Post
5 years ago
vvvvvvvvvvvvvvvvvvvvvvvvvvvv \\ \\ https://repl.it/@panniu/BinaryDraw \\ \\ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Help Tool: https://repl.it/@panniu/Bina
panniu
panniu
2 16x16 images are up!!!5 years ago
Case_Buttitta
Case_Buttitta
How does this work?5 years ago
pyelias
pyelias
Just some random notes and suggestions: The help tool doesn't work. Have you considered using loops for the print\(''.join\(...\)\) parts? What happens when you highlight it is cool.5 years ago
panniu
panniu
shared a Post
5 years ago
http://panniu.repl.co/Modern-Webpage-for-Beginners Please feel free to give me suggestions
jdw136
jdw136
Great page! I loved the two shades of blue on the page, but tbh I kinda have a problem with the yellow. But that's just my opinion. The real issue is that you don't have any images on the page. When using Repl, you need to upload an image from your drive, or else it wont' show up. But otherwise good site.5 years ago
panniu
panniu
shared a Post
5 years ago
https://repl.it/@panniu/Numbers-To-Words Is there a way to shorten this code? If so, please help me!!! Thanks
panniu
panniu
Fixed a minor thing. Try to type zero before the main number Example: Before: Input = 001 ---> Output = hundred and one After: Input = 001 ---> Output = one5 years ago
panniu
panniu
New Drawing machine- https://repl.it/ibuiltthis/p/binary-drawing-thing5 years ago
pyelias
pyelias
I think I know how to shorten it a bit. Split the number into chunks, like 1234567 -> \[1,234,567\] and convert each to a number, then add millions and thousands and stuff.5 years ago
panniu
panniu
shared a Post
5 years ago
https://repl.it/@panniu/Info-Generator
Maudiib
Maudiib
Cool!5 years ago