2
One More Digit (Prototype)A simple terminal-based story game.
This is also my first purely Object-
Oriented program.
Dev Period: Prototype
4
0
2
1
Calculator 3.1A useful calulator!
5
0
1
I'm trying to edit my repl, and it says "connected", but it won't load!
I tried changing my wifi, restarting my pc, and reloading the page, but nothi
HahaYes that happened to me. The best thing to do is to just rename it while it is loading. (at least for me)3 years ago
I'm making a website, and I need some way to send email with PHP. If anyone can tell me how or point me to a reference, please do!
Thanks!
I'm making a small website and I have a PHP script that sends email using the mail(); function. I know that you have to edit php.ini for it to work, b
I just started using BASIC (not QBASIC) on repl.it and there's that white screen above the terminal, and with other languages that means there are GUI
SixBeeps PG-Basic is special because an entire half of the language is meant for graphics. Also, you're not gonna find anything on the language yet because it came out only a few weeks ago. Check out Amasad's post about it.3 years ago
This is for everyone in the team, what are your favorite programming languages?
I want to figure out what the problem with this is. I have the right indentations, so why is there TabError?
Please Help!
Python
Highwayman Probably because line 26 doesn’t have any indentation at all, which completely screws over the rest of the lines.3 years ago
Getting MAC Address
To get the MAC of your device, you need the re and uuid modules.
Its simple, only 2 lines of code at the least.
import re, uuid
I just posted this because I thought I might be helpful. If you open up a repl, you can press Ctrl + Shift + S and It opens a Terminal VM under the ou
This is a simple 7 - line LOLCode program where the Sempai of the pool (you) gives wisdom!
Nothing much, just something my classmate suggested. If you guys want, I'll make a rainbow edition!
Also, I like working on small programs like this,
Python
All the syntax is fine, but it bugs out! Please tell me why and how to fix it!
Python
potootos I figured it out,
1st is that you wrote radaint on line 9, instead of randint
2nd you need to select all code included in the class game and press * TAB* and then SHIFT + TAB. How that will help you is that it will get rid of the indentation error the program was throwing. The case might be that you included some 'spaces' instead of 'tabs'.
3rd you need to put an int() statement in front of the input() statement on line 11 of the code because currently what the user inputs is a string, a str3 years ago
In this game, you will need to find out the secrets of AMBit, the most advanced AI yet, while getting the help of other users. He is not shown in this
Python
PowerCoder Cool. I like where the games going. I'll keep an eye out for the full version in the future. Also I've never used coloramas Fore before (I use cprint from termcolor).4 years ago
I know how to use the tag, but how do I get the output from it? Can you please create a example repl to explain? FYI I'm using
vedprad1 You have to create a server to process the input. I would reccomend either learning Node.js or PHP to start learning how servers process this input. w3schools.com is a good resource for this.
Or, if you want to cheat this system. you can just use document.getElementById('id').value and process it in Vanilla JavaScript, but I do not think that will work for files.
If this answers your question, please check the checkmark on the left side of this message. Thanks and Good Luck!4 years ago
This is a library/module that makes coding in Python less Painful. It's still new, so there aren't many functions. Enjoy! xD
Python
NOTE: This is only a sample of the code, and it won't show tabs.
import sys
import os
import string
import math
import colorama
import time
def logi
heyitsmarcus What you really want to do is restructure your logic just a bit especially in the first part where you want to start over. Instead of saying:
if uy == "y":
continue
elif uy == "n":
Do something like:
if uy == "n":
login()
elif uy == "y":
#continue on with the rest of the password code
And then in the bottom of the script you could just call login() again to restart the process.
>If this helped solve your problem, please consider upvoting and marking my answer as the accepted answer to4 years ago
How do you you import a module that isn't defaultly imported (like colorama or pysound)? And how do you do the "pip install" you see on module downloa
JustARatherRidi You simply write the import statement, and repl.it will handle the rest :)
Here's an example repl: https://repl.it/@JustARatherRidi/Importing-in-Python4 years ago