•2 years ago
fun game to play when you're bored or need something to show someone to have a laugh
I have been working on this for a while, and I cannot seem to figure it out. I'm working in python and I cannot get the variables to be in parenthesis
Scoder12 Also when you want to print out the numbers like print("y=x" +x+".") you have to str() x like print("y=x" +str(x)+".") so that it can be printed.3 years ago
eco27 you need an int() around your inputs because when the input is read they are actually strings, not numbers so you need to convert them to ints to do operations on them3 years ago
have you ever wondered who Joe is? I made this simple little code so and your friends can understand who Joe is...
I’ve been wondering the same question ever since I started programming on the wonderful website known as repl.it: Are you going to make a mobile app?
theangryepicbanana There is a mobile app that's currently a work in progress ( @Kognise knows more about it)3 years ago
I'm still kind of new to python so if someone could help me that would be great. i'm trying to make a real time game. a simple one using ascii art and
mwilki7 I found this online (stackoverflow) and put it in a repl. Feel free to copy paste it: https://repl.it/@mwilki7/test-real-time-input3 years ago
I asked a friend one day "What should I do?" she replied with this "Make a program that fake donates to blind llamas". I took it one step further and
Does anyone know how to clear the screen during the code? a clear command would be very useful to my program and I don't know one.
FourtyCoder I know a very simple way. from time import sleep import os def cls(): os.system('cls' if os.name=='nt' else 'clear') print('Hello, World!') sleep(2.5) cls() print('Nice to meet you!') #This is python way 10 months ago
hyperupcall hey! because you are using python, it is pretty easy to do this at the top of your file import replit to clear the screen, call the clear function replit.clear() if you want to see this in action, i forked a repl (credit to @jamiebally) here hope i could help :P3 years ago