All
Pinned posts
TheDrone7
KAJAM ENDS
TheDrone7
Monthly Repls - September 2021
TheDrone7
Repl Talk Rules and Guidelines [README]
katyadee
🐶Introduce yourself! 🐶
Mosrod
Guide to Asking Coding Questions
BenjaminHolm1
BenjaminHolm1 shared a Post
3 months ago
28
Can't enter my websites
Ask
My html websites work fine inside replit but they time out when i enter them in my own browserRead full post
RECENT REPLIES
TheRealThisas
TheRealThisas 5 days ago
Hi there 👋🏼 Repls automatically shut down when they are not in use. If you are a hacker subscriber you can enable always on to your repls. If not and you would like to deploy your site to the cloud I suggest connecting your repl to a github repository then connecting the github repository to a service like netlify, vercel or even github pages that will host your site for you. You can edit the code through replit and it will auto-deploy to the cloud. Have fun, Thisas
siddharthpraja3
siddharthpraja3 2 weeks ago
Hello please help/ i have published a simple program named as siddharthcarboncalculator but i ma not able to share it with friends. so how can others see that
xXSamuelWangXx
xXSamuelWangXx 3 weeks ago
You should dry putting the javascript into a tag instead because it doesn't state what the source "script.js" is. Same for the css, put it in a tag.
LlamaBoii
LlamaBoii shared a Repl
1 week ago
3
NativeGrotesqueAngles
NativeGrotesqueAngles
Ask
Python
Help with Python calculator
So basically what this repl is for like doing simple math stuff. So i want to know, after everytime someone does a problem let's say addition, 1+1, they get 2. so once after they've done it i want it to ask like type anything to start a new calculation and after they've typed anything it basically starts everything over so they can do a different calculation. How to do so?Read full post
RECENT REPLIES
LlamaBoii
LlamaBoii 4 days ago
@TheRealThisas yea so i tried the ``` exitFlag = False while exitFlag == False: """ Code """ isExit = input("Type anything to start a new calculation or 'exit' to exit.") if isExit == "exit": exitFlag = True ``` and as soon as i run it it just loops it and spams the console.. did i do something wrong? if you want you can check the repl (it's the same one above)
TheRealThisas
TheRealThisas 3 days ago
@LlamaBoii The problem is with indentation. In your code the loop is not implemented properly as the rest of your code is not in the loop. ```python3 from getkey import getkey, keys exitFlag = False while exitFlag == False: print("what you wanna do?") print(" ") print("Type + for addition") print("Type - for subtraction") print("Type * for multiplication") print("Type / for division") op = input('Enter your choice here = ') if op == '+' : num1 = float(input("Enter the first number: ")) num2 = float(input("Enter the second number here: ")) add = num1 + num2 print("{0} + {1} is {2}".format(num1, num2, add)) elif op == '-' : num1 = float(input("Enter the first number here: ")) num2 = float(input("Enter the second number here: ")) sub = num1 - num2 print("{0} - {1} is {2}".format(num1, num2, sub)) elif op == '*' : num1 = float(input("Enter the first number here: ")) num2 = float(input("Enter te second number here: ")) multi = num1 * num2 print("{0} * {1} is {2}".format(num1, num2, multi)) elif op == '/' : num1 = float(input("Enter the first number here: ")) num2 = float(input("Enter the second number here: ")) division = num1 / num2 print("{0} / {1} is {2}".format(num1, num2, division)) else : print("something went wrong ") print("Type anything to start a new calculation or ESC to exit.") isExit = getkey() if isExit == keys.ESCAPE: exitFlag = True ``` In the above code block is a proper implementation of the while loop. Further, I have taken the liberty of adding @Dunce 's suggestion as I think it is what you're looking for. Take note however that this code can be significantly improved. ```python3 from getkey import getkey, keys def main(): # Ask the user for first number and second number. first_number = input("Enter first number: ") second_number = input("Enter second number: ") # Ask what calculation needs to be done. calculation = input("Enter calculation: ") # Print the calculation performed with the answer. if calculation == "+": print(f"{first_number} + {second_number} = {int(first_number) + int(second_number)}") elif calculation == "-": print(f"{first_number} - {second_number} = {int(first_number) - int(second_number)}") elif calculation == "*": print(f"{first_number} * {second_number} = {int(first_number) * int(second_number)}") elif calculation == "/": print(f"{first_number} / {second_number} = {int(first_number) / int(second_number)}") else: print("Invalid calculation.") if __name__ == "__main__": killStatus = False while killStatus == False: main() userInput = getkey() if userInput == keys.Q or userInput == keys.q: killStatus = True else: killStatus = False ``` If you plan on expanding the program for more than simple calculations consider using functions. ```python3 def add(x, y): return x + y def subtract(x, y): return x - y def multiply(x, y): return x * y def divide(x, y): return x / y def calculate(x, y): print("{} + {} = {}".format(x, y, add(x, y))) print("{} - {} = {}".format(x, y, subtract(x, y))) print("{} * {} = {}".format(x, y, multiply(x, y))) print("{} / {} = {}".format(x, y, divide(x, y))) def main(): while True: try: x = int(input("Enter a number: ")) y = int(input("Enter another number: ")) calculate(x, y) except ValueError: print("Please enter a number.") except ZeroDivisionError: print("Please enter a number other than zero.") except: print("An unknown error occurred.") else: break if __name__ == "__main__": main() ``` Hope this works, Thisas
PreciousOgunley
PreciousOgunley 2 days ago
@LlamaBoii dude i thought you were smart
simp4reyna
simp4reyna shared a Post
4 weeks ago
10
petition to create an option to add friends
Ask
me and my coworkers believe that an 'add friends' function would help with our ability to work together. to support this movement comment 'vouch', andRead full post
RECENT REPLIES
CodingCactus
CodingCactus 4 weeks ago
To give feedback please create a post on https://replit.canny.io/general-feedback thank you
CronusOverride
CronusOverride 4 weeks ago
vouch
tussiez
tussiez 4 weeks ago
How about you create a Repl.it team? It is free. https://replit.com/@teams Also, you can add other users to your Repls. image
amasad
amasad shared a Post
1 year ago
213
Wildest programming language idea
Ask
What is your wildest programming language idea? This could be fun (silly) ideas or really cool and useful ones. Go! Also on le twatter: https://twitRead full post
RECENT REPLIES
tomipic271
tomipic271 6 days ago
NordVPN is a well-known name in the VPN industry. But it's not the only one. If you've heard about ExpressVPN , make sure to check out our review of Nordvpn vs Express vpn . In this article, we'll help you find the best NordVPN coupon that will save you money and improve your privacy online. It doesn't matter if it's your first time using a VPN or if you're already familiar with them - we have something for everyone! Keep reading and let us show how to save some cash on a great service... When w
harshesnehal1
harshesnehal1 7 days ago
A programming language is a formal language comprising a set of strings that produce various kinds of machine code output. Programming languages are one kind of computer language and are used in computer programming to implement algorithms. Most programming languages consist of instructions for computers. https://gist.github.com/harshesnehal/4bc12244ccf1f3a841555a2519a84821
TheDNAHero
TheDNAHero 2 weeks ago
OurSQL. It is just like MySQL except for a few different features. The first is there is only one shared database, I mean, we can’t have the capitalists use their own database! The second thing is that each person has the same amount of slots, because we are all equal here! except of course, for people who star the repo on GitHub, because those people are worthy of more, and are doing it for their comrades. This is why we have OurSQL, thank you comrades
amasad
amasad shared a Post
12 months ago
80
Ask Me Anything
Ask
Hi, I thought it'd be fun to do. AMA. Thanks everyone, closing this but you can ask me questions here: https://replit.com/@amasad/Ask-Me-AnythingRead full post
RECENT REPLIES
ErrorbotTHE2nd
ErrorbotTHE2nd 8 months ago
what is 0/0 and 0/infinity and infinity/0
Th3Coder
Th3Coder 8 months ago
Who is Max Shawabkeh and what happened? (He made LOLCODE and was a member of the Replit team, but then he got removed as he isn't in the About page.) I just have this 1 question... who is Max Shawabkeh and what happened? (If this is personal then sorry, just ignore this!) Edit: Good to hear that @amasad, thanks for your answer and have a great day!
FranklinStopar
FranklinStopar 9 months ago
can you get me a prom date?
shahsexyman
shahsexyman shared a Post
10 months ago
73
Claim
Ask
After putting a voucher code inside of https://repl.it/claim and click enter, it doesn't work. Can someone help?Read full post
RECENT REPLIES
BottingTeam
BottingTeam 2 weeks ago
S
AdamkoAdamko12
AdamkoAdamko12 3 weeks ago
hackclub20
valenzuelawilli
valenzuelawilli 3 weeks ago
I believe everyone will appreciate these fascinating details. 2048 cupcakes
FineMouche
FineMouche shared a Repl
3 days ago
1
Tuples in Python v2
Tuples in Python v2
Ask
Python
why =+ don't work with tuples ?
like in friends =+ ("Seb",)Read full post
RECENT REPLIES
FineMouche
FineMouche 2 days ago
@MrVoo what you mean by using comma to add a value ?
MrVoo
MrVoo 2 days ago
@FineMouche nevermind :I
FineMouche
FineMouche 2 days ago
@MrVoo thx its very more clear now ... I will watch a video or read an article about tuples if you don't want clarify :/
ChezCoder
ChezCoder shared a Post
1 year ago
60
My thoughts on the community
Ask
Hello Repl, I hope you read the full length of this message. For those who don't know me, I am ChezCoder, and I left repl for a few reasons. The compRead full post
RECENT REPLIES
cutech
cutech 1 month ago
Why didn't you delete your account?
Mooping
Mooping 4 months ago
a
xfinnbar
xfinnbar 5 months ago
This would fix this problem: https://replit.canny.io/hacker-board/p/talks-hot-section-needs-a-rework
VulcanWM
VulcanWM shared a Post
4 months ago
9
I need places and ways to die (for my game)
Ask
Can you guys give me places and ways to die? It's for my game HollowRead full post
RECENT REPLIES
eheheheheh22
eheheheheh22 1 week ago
uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh should i say... nah
MilescOde
MilescOde 3 weeks ago
Touching the words "so many dumb ways to die" Flare gun for help
QuickV
QuickV 2 months ago
I know this is kinda late but here's one way: yourmom
AnuskaGiri1
AnuskaGiri1 shared a Post
2 weeks ago
4
Rock,Paper,Scissor SHOOT
Ask
Is this good so far? I am a beginner and found this on youtube.
Rock,Paper,Scissor SHOOT
HTML, CSS, JS
Read full post
RECENT REPLIES
WatsonStephen
WatsonStephen 47 minutes ago
Composing is significant in light of the fact that along these lines you can intrigue the individuals. There is no alternate way to students gets best writers go to visit https://www.australian-writings.org/ site for unique writing or dazzle the individuals. I read this substance till the end and I found so astounding things in this blog and this data is great.
LennonTilly
LennonTilly 6 days ago
One of the main advantages of using the Logo Cravings logo design service usa design tools is that you can put together logos for your company or brand in a matter of minutes. All you need to do is input your company's name and tagline, select one of our template images, and download the highest resolution images. Of course, you could alter your logo to your liking this will take longer, however the process will be simple and straightforward throughout.
ThatGhost
ThatGhost 1 week ago
besides weird html and js formatting your good!
Steven_The_GuyT
Steven_The_GuyT shared a Post
3 years ago
236
Dark Mode
Ask
How do you change to dark mode? I've heard many people talk about it, but I don't know how to access it.Read full post
RECENT REPLIES
tvidl99
tvidl99 2 weeks ago
Cool. Darkmode is better to see than others fireboy and watergirl
TuyenBui
TuyenBui 2 months ago
For people in 2021. The Dark Theme change to (3 line burger => click to your name) Account => Reference => Theme.
arrrsman
arrrsman 3 months ago
idk how but repl.it automatically switched to dark mode after I clicked on this post
Mosrod
Mosrod shared a Post
3 years ago
313
Guide to Asking Coding Questions
Ask
Guide to Asking Coding Questions Why? Good questions help your question be solved faster, and people will want to answer your question Bad questionRead full post
RECENT REPLIES
jjroley
jjroley 2 weeks ago
This might be a very dumb question, but is there a way to ask a question or make a post without sharing a repl? Sorry, I don't know where to ask this lol.
P0GCHAMPB0i
P0GCHAMPB0i 3 weeks ago
Sorry for this because when I click the feedback and the bug link, it says 404 blah blah blah. So can I write my comment/feedback here? You can ignore this thing if you say no :). On people's profile, can you add a chat box on people's profile so then people could just talk on their profile?
P0GCHAMPB0i
P0GCHAMPB0i 3 weeks ago
I know that I asked this one, but what would I do if I already created a programming language? Would I call the CEO to add it on this website? or just create a new repl and translate the code to HTML? Because I like teaching some new kids on how to use the language.
Smithroy753
Smithroy753 shared a Post
1 month ago
7
Can you get out from this trap?
Ask
try from here ./././.: https://replit.com/@Smithroy753/Huge-Trap?v=1 #kajam2021
Huge Trap
HTML, CSS, JS
Read full post
RECENT REPLIES
PikachuB2005
PikachuB2005 2 weeks ago
I made it past level 10! But then I got bored =P
GraceDawkins
GraceDawkins 3 weeks ago
[url https://www.cheapessay247.com/]Cheapessay247[/url]
HackermonDev
HackermonDev shared a Post
2 years ago
144
Repl.it Desktop 😯
Ask
Hello, replers I was just wondering if any of you are interested in a repl.it desktop app. I know they were working on one but I think they stopped thRead full post
RECENT REPLIES
gibbsfreenergy
gibbsfreenergy 1 year ago
So did the desktop app come in the end?
codedragon2
codedragon2 2 years ago
VERY INTERESTED.
amasad
amasad shared a Post
11 months ago
37
How did Repl.it help you this year?
Ask
We want to feature a few stories from our community and would love to know how Repl.it helped you navigate 2020. Maybe you're teacher and MultiplayerRead full post
RECENT REPLIES
P0GCHAMPB0i
P0GCHAMPB0i 7 months ago
Uhh for my tutor class i guess for my freinds and creating stuff for fuuuuuuunnn
MrHiTech
MrHiTech 9 months ago
I use replit's web hosting to host my website that on which I keep French review games for my French class.
ThisUserTaken
ThisUserTaken 10 months ago
I have learned a lot of python using repl.it and made some cool programs!
AryanTaha
AryanTaha shared a Post
3 years ago
230
how to add image in html
Ask
in htmlRead full post
RECENT REPLIES
azlanshah23
azlanshah23 1 week ago
i use this tag for my BPO Call center website and this work very. Simply what i want i get . Tag : Example :
hemsagar
hemsagar 1 month ago
I know to put but it dosen't work
FabricioLucas13
FabricioLucas13 shared a Post
12 months ago
38
repl process died unexpectedly: exit status 2?
Ask
Good afternoon, I am new in replit. I just try to do a little code that I have done in my PC, but that error pops up. I have been searching around an
Pong
Python
Read full post
RECENT REPLIES
tvidl99
tvidl99 2 weeks ago
I'm newbie here. Thanks for advance mapquest driving directions
MUMCODE
MUMCODE 3 weeks ago
intro = She is pretty. she knows to play with codes as well.she is beautiful. print(intro.upper()) i run this code and this is the error i am getting No such file: main.py repl process died unexpectedly: exit status 2
HallelujhaTefer
HallelujhaTefer 2 months ago
i have the same problem even tho its still main.py
VulcanWM
VulcanWM shared a Post
6 months ago
13
Rate all the coding languages you know from 1-10
Ask
Comment below all the coding languages you know and how much you would rate them (whole numbers from 1-10 please) I have all the data I needed. ThankRead full post
RECENT REPLIES
rickysong
rickysong 3 months ago
python: 10 html: 8 kaboom: 1000
TheDNAHero
TheDNAHero 4 months ago
I’m gonna use “know” very liberally but js: 11/10 css:4/10 html: 8/10 c#: 3/10 python 5/10
Igor-Belskiy
Igor-Belskiy shared a Post
3 weeks ago
5
Can`t use "opencv-python" in my project
Ask
Consol show me this: Replit: Updating package configuration --> python3 -m poetry add opencv-python Using version ^4.5.4 for opencv-python Updating
ComputerVision - Hands
Python
Read full post
StevenDavis2
StevenDavis2 shared a Post
10 months ago
19
I love to animate! Ask me if you please!
Ask
I love to animate bitmap sprites and backgrounds! If you want me to create something for a project or something else of yours, or even if you just wanRead full post
RECENT REPLIES
CoderRudra
CoderRudra 4 months ago
You can use pyxel or css or Turtle
QuickV
QuickV 6 months ago
Hm... Maybe make a pixelated stickfigure slice through some fruits with a sword?
elipie
elipie shared a Post
10 months ago
22
Why is everyone making Python tutorials
Ask
ok i kinda get it... they are good at the language and they want to show others how good they are at the language. Oh and sometimes help people out bRead full post
RECENT REPLIES
McJoe21
McJoe21 5 months ago
Python is very annoying language because of indents issues
mollthecoder
mollthecoder 7 months ago
This isn't replit, this is replyit.
PaoloAmoroso
PaoloAmoroso shared a Post
11 months ago
28
What Repl.it accomplished in 2020 and what to expect in 2021
Ask
In early January 2020 I asked what to expect from Repl.it that year. @amasad kindly replied outlining the 2020 roadmap. How did things go? Let's reviRead full post
RECENT REPLIES
AcaciaHary
AcaciaHary 4 months ago
The article gives me a lot of valuable information. helped me learn many things. https://cookieclicker4.com
rediar
rediar 10 months ago
Oh wow, they finally worked on mobile? Very glad, it was about time. Now all thats left for the wish list is a desktop app and a mobile app....
AndrewMarkarian
AndrewMarkarian 11 months ago
We need private repls for the normal plan so bad. I have gotten and my emergency repl was hacked too. My business was ruined but it toook me 3 months to rewrite everything! Make the private repl feature avialible for everyone.
EvokQuadro
EvokQuadro shared a Post
2 years ago
99
How to save a project? : )
Ask
pls help ! I really can not find any way to save my project.
BelatedCandidDecompiler
reactjs
Read full post
RECENT REPLIES
winklerglinesnw
winklerglinesnw 41 minutes ago
I am very enjoyed for this blog. Its an informative topic. It help me very much to solve some problems. Its opportunity are so fantastic and working style so speedy CLIK HERE.
EricYang14
EricYang14 6 months ago
I don’t know how to save
peanut20
peanut20 8 months ago
try click on the play button on the top. that fixed my auto save problem.
sojs
sojs shared a Post
1 month ago
3
MultiSnake Mods
Ask
Hey everyone! For those of you in my discord you will see that I roll out updates for multisnake quite often. But, tragically, I am running out of stu
Multi-Snake
Node.js
Read full post
RECENT REPLIES
RedMan2Man
RedMan2Man 1 month ago
Hmmm.... Well you could add a mirror mode, so like when you eat an apple the snake switches it's direction... Or you could do like multiple apples. There's a lot of cool different snake things on Google Snake. Maybe you can check out the modes and try them out? https://www.google.com/fbx?fbx=snake_arcade
rickysong
rickysong 1 month ago
add maze mod!
sojs
sojs 1 month ago
Comment Below!!
gibbsfreenergy
gibbsfreenergy shared a Post
4 months ago
10
Should I learn C++?
Ask
i just wanted to ask if I should learn C++ and what you think are the best resources for me to learn it. any suggestions would be cool. oh and also whRead full post
RECENT REPLIES
jndhotels
jndhotels 1 hour ago
Royal Kalinga Cottages Manali is one of the most prominent cottages in the town. The Cottage is designed to calm, delight your senses. The beautiful spectacular views, peaceful and serene ambiance, makes this place fit for travelers, nature lovers. http://jndhotels.com/
MilescOde
MilescOde 3 weeks ago
C++ is one of the best scripting languages, so I think you should learn C++ C++ can: GUI apps Cloud system Browsers > I think you should use Code::Blocks
getcoursehelp
getcoursehelp 4 weeks ago
We at Get Course Help to provide one of the best academic services available at Online Course Help. Our organization has been curated with the primary goal of making students' lives happy.
bellabonura21
bellabonura21 shared a Post
11 months ago
3
HELP PLS ASAP HELP!!!
Ask
Vadik is creating a program where the user inputs their grade level and the program tells them which sports teams they are allowed to try out for: freRead full post
RECENT REPLIES
5642
5642 5 months ago
elif because then at the start you could ask to use frome 1-6 then say first. if input = 1: say ex: soccer elif input = 2: say : ex: basketball ect, at the end make an else print('Sorry thats not a grade')
mechtank
mechtank 5 months ago
HJobiyhg!
kannibalistic
kannibalistic 5 months ago
?
Kopamed
Kopamed shared a Post
2 years ago
41
Why is begging for upvotes so effective on repl
Ask
I mean most posts nowadays have a line saying "upvote because this helps me out". While this is already kinda bad, its acceptable. But there are alsoRead full post
RECENT REPLIES
HunterStewart1
HunterStewart1 1 week ago
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
HunterStewart1
HunterStewart1 1 week ago
I MADE MOPE.IO AND IT DID NOT WORK
HunterStewart1
HunterStewart1 1 week ago
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOF
awesomearjun1
awesomearjun1 shared a Post
2 years ago
51
how to share repls?
Ask
Like what do you have to do?
Calculator code - Python Arjun
python
Read full post
RECENT REPLIES
CrazyVideoGamer
CrazyVideoGamer 9 months ago
Find the +invite button. It will be in the upper-righthand corner. You can click on it and share your reply with someone. You can either invite by link or invite by username/email.
c4syner
c4syner 2 years ago
If you would like to share it with someone to work with you there is an +invite button which will give you a link to a multiplayer session. If you'd like to just generally share your code simply copy the url in your browser and share where needed.
cmarts
cmarts shared a Post
3 years ago
132
share link
Ask
How do we share the link of our code with someone?Read full post
Load more