Nehal Yendluri
@NehalRam
0
Remainders - Never Forget AnythingA webpage that stores your remainders. It will store remainders in localStorage so don't worry about refreshing the page or leaving it!
2
1
0
NehalRam Note: if it doesn't work the first time, try pressing "delete all" and then use it!
make sure to comment about bugs!
4 months ago
when i open replit.com, the css or the js doesnt load for a few good seconds and it appears like this:
image
anybody else?
and what can i do to fix th
SixBeeps I've been seeing the same thing. It seems to be a server-side thing, so there's nothing you can do to stop it from happening.1 year ago
0
Calculator!This is a simple calculator
check readme markdown for more info
13
2
0
MrVoo Games with zero errors are best. Avoid using `int(input())` and do something with try/except, like this:
```py
while True:
num = input(‘> ‘)
try:
num = float(num)
break
except:
print(‘Invalid!\n’)
```2 years ago
Check the readme markdown for more info!
Special thanks to
@SudhanshuMishra
Python
Check the readme markdown for more info!
Special thanks to
@SudhanshuMishra
Python
Hey Guys!
This is just a lil game me and my team worked on
onestly this isnt much at all
But We are releasing Big Games in the coming months like-
Bet
Python
0
Rock paper scissorsJust a lil classic Rock Paper Scissors
Please add your suggestions in the comment box below.
Enjoy!
P.S- theres a new game i am going to release its a text based game stay tuned for that
90
0
0
Please Help Me Its Not Running a Big Chunk Of Code(like 3/4 of the code)
Brendan23 I know this is not the answer but instead of putting
**print("Enter Your Password")
password = input()**
you can put password = input("Enter Your Password")2 years ago
RYANTADIPARTHI few things you can try.
remove the () from the numbers.
try changing the input to int().
and when doing == "1", change it to == 1, since it's now an int()
i think that's it2 years ago
How To Run Another File In The Same Repl From Main.Py But From The middle Not Like
import file.py
I want it like this
dot = 1
if dot == 1:
import f
19wintersp What you could do instead is import the file at the start, but put the code you want to run inside of a function. Let's call it main.
To start, let's get our files:
main.py
import other
other.py
def main():
#do stuff...
Next, let's run main if dot is 1:
main.py
import other
#set dot and other stuff here
if dot == 1:
other.main()
Finally, let's add a quick piece of code to "other.py". What this will do is run main if it is run directly, but wait if it is imported. We can do this with 2 years ago
RYANTADIPARTHI Solution
try doing this.
import subprocess
if dot == 1:
subprocess.call(['python', 'FILENAME.py'])
else:
subprocess.call(['python', 'FILENAME.py'])
like that.
Maybe that will work2 years ago
How To Run Another File In The Same Repl From Main.py?
Can You Plz Help Me Help Me Out?
RYANTADIPARTHI Solution
there are two ways. From code, or from the shell.
for the shell, go to the shell, and type in this command. python FILENAME.py.
in place of the FILENAME, put your .py file.
the second way is to import it.
import FILENAME
or
from FILENAME import *
like that.
Any of them should work2 years ago
BananaJellyfish i think you want something like:
from colours(file name) import colours(thing in file)2 years ago
Can Any Body Please Tell Me How To Make Programmes Run On Repl.co
This Is All About A Virtual Car Showroom(Not An Actual One)
This is named Top10trending In My Profile. You Know What It Means.
this is an edit from among us drawing repl. I just added colours