Skip to content
Sign UpLog In
Profile icon

Martin Rimes

@MartinRimes
  • calculator

    Cover page
    Made with Python

    calculates a lot of things

    Recent comments (1)
    MrVoo
    MrVoo
    2 years ago

    Putting all your code into different files is very inefficient, maybe remake the project and put everything into main.py?

Repls
Community
MartinRimes
MartinRimes
shared a Post
2 years ago
is it possible to use the mouse to control the turtle if so how?
I think that it would be cool to make a program that lets you control the turtle so either have it follow the mouse also is there a way to let the mou
turtle 2.0
Python
MartinRimes
MartinRimes
shared a Post
2 years ago
i am making a calculator and I need to find the square root of a number but am having trouble using the command for finding square root "sqrt()" I am
calculator
Python
MartinRimes
MartinRimes
the code is in stdev.py2 years ago
MartinRimes
MartinRimes
shared a Post
2 years ago
whenever I try to use the same thing module multiple times the program stops working. I tried to do some research and found the reload command but cou
calculator
Python
InvisibleOne
InvisibleOne
The issue is because you are importing things more than once, you only need to do it once at the top of your code, and then you can use the functions from that module wherever you want.2 years ago
MartinRimes
MartinRimes
shared a Post
2 years ago
how do I make my repls packager files work faster pls help me it is so annoying to have to wait for the filles to update every time I change something
calculator
Python
JBloves27
JBloves27
Hello there! Let me just tell you that you can't switch the speed. You can only wait for the packaging to wait. There is no other exception. Sry! I hope this helps!2 years ago
MartinRimes
MartinRimes
shared a Post
2 years ago
does anyone know what packager files are they suddenly appeared in my repl when I tried a test run, are they in my repl because of how big my repl has
calculator
Python
28houssem28
28houssem28
0009 months ago
chessmajor
chessmajor
Hey man, I'm having the same problem. I'm not sure if I should but I just delete them. But you're probably not going to see this considering you submitted this complaint a year ago. :)1 year ago
MartinRimes
MartinRimes
I think that even though python has back packager files I will keep them since I do not understand their code as I am a bit of a noob at coding and all of my programs just use the same like 5 lines pf code over and over and over again2 years ago
MartinRimes
MartinRimes
shared a Post
2 years ago
how do I turn a list into variable for example the list 1, 2, 3, 4, 5 is changed into the variables num1 num2 num3 num4 num5. I do know how to make
calculator
Python
MartinRimes
MartinRimes
thanks guys but how would I have a third party enter the numbers instead of them being predetermined and I would like for people to be able to enter the numbers as a list... and again thanks a lot :D2 years ago
Coder100
Coder100
There are two ways to do this. The first would be to have a tuple: values = [1, 2, 3, 4, 5] num1, num2, num3, num4, num5 = values The second way is: values = [1, 2, 3, 4, 5] num1 = values[0] num2 = values[1] num3 = values[2] num4 = values[3] num5 = values[4] `2 years ago
SUHASTADIPARTH1
SUHASTADIPARTH1
You need to do this listofnums = [0, 1, 2, 3, 4, 5] num1, num2, num3, num4, num5, num6 = listofnums print(num1) # this will be 1 print(num2) # 2 you can assign variables to the list 2 years ago