Recent content by Cash Fulton
-
C
Run Lines of Code Multiple Times
Thanks for the response. Though, I don't fully understand how I would write it for my exact purpose. Could you give me an example with the 'for loop' for what I'm trying to accomplish?- Cash Fulton
- Post #3
- Forum: Programming and Computer Science
-
C
Run Lines of Code Multiple Times
In Python 3... I have a few lines of code that I want the user to choose how many times it will run. For example: times=int(input()) 'times' will be the number of times the lines of code will run. How do I do it?- Cash Fulton
- Thread
- Code Lines Multiple
- Replies: 3
- Forum: Programming and Computer Science
-
C
How do I make the decimal go on?
So is there or is there not anyway of accomplishing this? Protip: I was role playing in a non-threatening way to enlighten you. I did not succeed.- Cash Fulton
- Post #4
- Forum: Programming and Computer Science
-
C
How do I make the decimal go on?
I was bored so I made this: print("Object vs. Planck Length") print("How long is the object in meters?") obj = int(input()) result = obj - 0.000000000000000000000000000000000016162 print("1 Planck length is " + str(result) + " meters smaller than that object.") Problem is that the decimal...- Cash Fulton
- Thread
- Replies: 7
- Forum: Programming and Computer Science
-
C
High School Why do we use division when we use per something?
Doesn't really answer my question. I am asking why that is.- Cash Fulton
- Post #5
- Forum: General Math
-
C
High School Why do we use division when we use per something?
Why do we use division/fractions to represent per something?- Cash Fulton
- Thread
- Division Per
- Replies: 6
- Forum: General Math
-
C
Why don't you put a variable before an else statment?
I'm too lazy to see the big picture. Here is an example to show you what I'm talking about: [FONT=Courier New]x = str(input()) [FONT=Courier New]if x == "that's a nice meme sir": print("thanks friend") elif x == "crap meme stop posting anytime": print("oh") else[FONT=Courier New]...- Cash Fulton
- Thread
- Variable
- Replies: 2
- Forum: Programming and Computer Science
-
C
What is the point of the elif statment?
What's the point of the elif statement? Why not just keep the if and else statements and leave it at that? Can't the if statement be replaced with just if? Thanks.- Cash Fulton
- Thread
- Point
- Replies: 3
- Forum: Programming and Computer Science
-
C
High School Why does the order of operations work?
Interesting, I'll check it out.- Cash Fulton
- Post #13
- Forum: General Math
-
C
High School Why does the order of operations work?
I think you did it with that one Dave. Thank you oh mighty one!- Cash Fulton
- Post #10
- Forum: General Math
-
C
High School Why does the order of operations work?
But what if you were seeing the cost of whatever like this for example 2x + 4 = 8 Another order of operations wouldn't work for solving x. Damn! why is it so difficult for my mind to comprehend this?- Cash Fulton
- Post #8
- Forum: General Math
-
C
High School Why does the order of operations work?
but... why does it work?- Cash Fulton
- Post #6
- Forum: General Math
-
C
High School Why does the order of operations work?
I have had this question bugging me for a while. I know how to use it, but why and how does it work? I heard it was for convention and you do the most complicated to the simplest operations to get the lowest terms but it still confuses me. Can anyone give me a clear and easy to understand...- Cash Fulton
- Thread
- Operations Work
- Replies: 14
- Forum: General Math
-
C
High School Understanding Electron Flow in Direct Current
Well explained sir!- Cash Fulton
- Post #3
- Forum: Electromagnetism
-
C
High School Understanding Electron Flow in Direct Current
I don't get DC. How do the electrons flow from one side to the other? Wouldn’t the electrons on both terminals just meet in the middle because of their attraction?- Cash Fulton
- Thread
- Confusion Current Direct current
- Replies: 2
- Forum: Electromagnetism