Skip to content
Open navbar menu
Sign UpLog In
Profile icon

OGU NOG

@XanthusPettitt
I like calcs
  • calc-1

    Cover page
    Made with Python
    Recent comments (0)
  • guessing game

    Cover page
    Made with Python
    Recent comments (2)
    RoxnerSaravia
    RoxnerSaravia
    3 years ago

    also reply to me on tinkcad

    RoxnerSaravia
    RoxnerSaravia
    3 years ago

    hey ugnog I just wanna tell you about myself. my name is roxner I'm 11 years old and I like playing fortnite apex legends and I live in Maryland i also like pokemon cards and the game and yeah that's a little bit about me

  • The outside

    Cover page
    Made with Python
    Recent comments (0)
XanthusPettitt
XanthusPettitt
shared a Post
2 years ago
Small rpg
Still not completely finished. Small RPG game that I made. I really enjoyed making this and will probably continue updating and polishing this game. _
small rpg
Python
MrVoo
MrVoo
Make the typewriter faster :P2 years ago
XanthusPettitt
XanthusPettitt
shared a Post
2 years ago
I am trying to make the code remember variables from a past run(for example lets say you ran a repl today and you save and quit so next time you run t
AarjavKavathia
AarjavKavathia
To save the variables permanently, you need to use a database. I would suggest using SQLite or the ReplitDB. You can just store the variables there.2 years ago
XanthusPettitt
XanthusPettitt
shared a Post
2 years ago
Hi, I'm trying to remove a character from a string permanently but when I look it up I get nothing. Is there truly no way to remove something with a s
x calc
Python
19ecal
19ecal
thing="a long string that you want to remove all the a's from" thing=thing.replace("a", "") `2 years ago
IL2PG2021
IL2PG2021
I’m not sure if this will work but try this : https://www.askpython.com/python/string/remove-character-from-string-python2 years ago
XanthusPettitt
XanthusPettitt
shared a Post
2 years ago
you enter a equation and it will find x. im currently haveing some probs with finder x but im getting close I think
x calc
Python
XanthusPettitt
XanthusPettitt
shared a Post
2 years ago
this started out as a little project of mine, "make a calculator" and now I have made one of the best calculators, we are constantly adding on to this
calc-1
Python
XanthusPettitt
XanthusPettitt
shared a Post
3 years ago
this was made with the help of: @ToasterTartFan @ChaosDragonSai @XanthusPettitt (yes me) If you can give any tips that would be great! This is my fir
calc-1
Python
XanthusPettitt
XanthusPettitt
shared a Post
3 years ago
I will continue adding things to this Bio of sorts
stuff about me
Python
Dunce
Dunce
The "what do you want to know about me" menu is showing up, but not any of the other stuff. Because as soon as it prints the other stuff the next iteration of the while loop starts, which clears the printed text, and creates the menu again. So to fix this you can just replace the print functions with input functions, so the loop will be paused until the user presses enter.3 years ago
XanthusPettitt
XanthusPettitt
shared a Post
3 years ago
you input number of guesses and the word
guessing game-1
Python
XanthusPettitt
XanthusPettitt
shared a Post
3 years ago
this is a simple wasd keys movement code
movement beta
Python
XanthusPettitt
XanthusPettitt
shared a Post
3 years ago
I want to check an input without having to enter how might I do this? like if you input "d" I don't want to press enter I want to just enter d and the
movement beta
Python
Coder100
Coder100
using getch. Its really easy and breaks almost nothing from getch import getch print('ay yo press something', end='') print('check: you typed', getch()) `3 years ago
LukeWright
LukeWright
you could use getch3 years ago
XanthusPettitt
XanthusPettitt
shared a Post
3 years ago
this was a quick thing that I wanted to do. you enter the amount of bottles and it will do the song for how ever many bottles you wanted
bottles of beer
Python
XanthusPettitt
XanthusPettitt
shared a Post
3 years ago
so I am finally, 1 not asking for help on something(maybe), 2, making a game, 3, not giving up right away, and 4 remembering how to post things
chess
Python
XanthusPettitt
XanthusPettitt
shared a Post
3 years ago
help jhfkhjv dfkjhdfk hjf dkh jfd
fuction for exponets
Python
XanthusPettitt
XanthusPettitt
shared a Post
3 years ago
meh well this has to be at least 50 characters long so hi
SpringgreenMassiveGoals
Python
JasonLiu19
JasonLiu19
There's an error. if num=guess: print("good job! You got it right") = is for assignment, == is for comparison.3 years ago