The Kingfisher

I'm the stupidest person on Earth. Seriously. You have no idea how stupid I am.
Who is it? Good work or not?
posted to Ask by pikachu223


basic flask website not hosting, ip address set to
posted to Ask by EthanHorsfall

i think your error is because you are naming the routes, at the end. Try putting it before calling the if statement.

from flask import *

app = Flask( # Create a flask app
template_folder='templates', # Name of html file folder
static_folder='static' # Name of directory for static files

@app.route('/') # '/' for the default page
def home():
return "Wow this is a basic output!"

if name == "main": # Makes sure this is the main process # Starts the site
host='', # EStablishes the host, required for repl to detect the site
port=0 # Randomly select the port the machine hosts on.

like that. Before you call name==main, name your routes.
It should work

Question About Python Design
posted to Ask by NehalRam


there are two ways. From code, or from the shell.

for the shell, go to the shell, and type in this command. python
in place of the FILENAME, put your .py file.

the second way is to import it.



from FILENAME import *

like that.
Any of them should work

Shopping Simulator
posted to Share by RYANTADIPARTHI

@oboy12 Thanks!

Assist with error.
posted to Ask by sosbacon

you have not capitalized

you made all your other vars capitalized -

But for your nouns, you use capitalize, but not capitalized it

Fix that, and it should work

Social Media App | MuseTime
posted to Share by RYANTADIPARTHI

@ironblockhd haha, thanks for visintg the website!

Why Does it not add a new line?
posted to Ask by Greggles

IF you want to print a newline, just use \n after everything you want to put into a new line.

How do you get the content creator tag and what are templates
posted to Ask by Baconman321

You get a content creator tag only if you make tutorials, or jams that are awesome, and lots of people appreciate, and like them. Just because you make a tutorial, doesn't mean you will get one. Only people with good tutorials, that people, and mods like will give you the tag. Nothing to it. Just a good tutorial, or i think a jam too.

Templates are just repls that people make, and want you to use it, by forking and taking it. Like there is a dark theme template. You can fork it, and use it in your projects. like that, you fork them, and use them.

That's all to them.

Weird format for other people's HTML files
posted to Ask by mraogrady

yes, you get that view if those repls are not yours. It's a beta. IT's still in the process of making.

Long uptimes
posted to Ask by MaxwellGarner

For now, no, you can't but. You can make a HTTP server to run forever. But mostly no.

I need help
posted to Ask by MaryamNegeda


I guess the way you are doing it will work, but the way I'm showing you is easier, and better, do it like this:

a = 1
a = int(a)
b = 2
b = int(b)
c = 3
c = int(c)
d = 4
d = int(d)

if a == 1:
   import turtle                      
   t = turtle.Pen()
   # and so on, write your code

so instead of <= or something, do == and turn the variables to ints, so this way is easier

That should work

Why does this code not work on but it works perfectly fine in visual studio?
posted to Ask by Easyflow111

If this same code works in vs code, but not in repl, then it's probably an editor issue. is limited to how many modules, or something used. Like that. But other outside source editors, have a lot of stuff in it.

I need help calling up a random.choice text again after it,how do i do that?
posted to Ask by JasonWu19

@JasonWu19 uhh, did you solve it? If you didn't, here's how.

import random

d = [1, 2, 3, 4]
x = random.choice(d)


That should work, but if you solved it, just ignore this.

Is there any mistake in my coding? This is C programming
posted to Ask by Noor0112

This is because you are scanning, but not actually printing anything. The input doesn't print anything.

how do you remove the space between a name and the message after
posted to Ask by MihaiTIRZIU

Try this code:

name = input("What is your name? ")
print('Hi '+  name + '!')

That should work

i accidentally deleted an IMPORTANT FILE
posted to Ask by OLDERTHANYOU

Repl history

Just click on repl history, and check the time you made this. Click on it, and it will work, restoring all your code:

Just go to the top of your repl, and you will find that.

😡Anger Test😡 - 👺Test your anger here👺
posted to Share by RYANTADIPARTHI

@elipie. umm, i don't understand fully, but ok.

posted to Ask by bellabonura21

answer is -if, elif, else

posted to Ask by bellabonura21

@bellabonura21 alright, then floating variable. I choose that.

hello friends. How can I create game window for any game with pygame?
posted to Ask by SheikhIstiak

if you have set the game properly, the window will popup.

Can someone help please it says indentation error?
posted to Ask by Jarn


you actually have two errors. One is an indentation error, and the other is invalid syntax. For the indentation, just put a space behind the if statement.

import discord
import os

client = discord.Client()

async def on_ready():
  print('We have logged in as {0.user}.format(client)')

async def on_message(message):
  if == client.user:

  if message.content.startswith('$Hello') # indented a bit

like that. Now, the other is because you forgot a : after the if statement.

import discord
import os

client = discord.Client()

async def on_ready():
  print('We have logged in as {0.user}.format(client)')

async def on_message(message):
  if == client.user:

  if message.content.startswith('$Hello'): # added a colon

like that.
That should work

🎥Video App | Videx🎥 - 📼Similar To YouTube📼
posted to Share by RYANTADIPARTHI

@EpicRaisin yes, my repl took too much space. 500 mb was max.

A little about you!
posted to Ask by Avakd

Read this link for a full tutorial on

Rust Web Development
posted to Ask by asemnada991

i don't know. You can suggest it in language requests.

what languages should i use?
posted to Ask by heavyduck

@heavyduck np :)

what languages should i use?
posted to Ask by heavyduck


since you are a beginner, i would first suggest you to learn css if you want to, then a real programming language - Python. It's easy to learn, and you can do it fast. After that, you can move on the c, c++, java, c#. those. But i recommend learning python first.