14 Reputation Points
Ranked #2K
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
100% Quality Score
- Upvotes Received
- 3
- Posts with Upvotes
- 2
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #36.9K
Re:
This snippet defines a function restart_program() which restarts your python program from within your python program. |
|
Hello all, I have started an new project which needs a Fibonacci sequence (all Fibonacci numbers below 4,000,000) Here is my code for calculating Fibonacci numbers: numbers_list = [] number1 = 1 number2 = 2 total = 0 while (total < 4000000): total = number1 + number2 number1 = number2 … |
|
I was bored so i created this program ti simulate a game of paper, scissors, rock. It was working well untill idecided to tinker a-bit. Now when I run it and enter a move it outputs this: Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 23 2015, 02:52:03) [GCC 4.2.1 (Apple Inc. build 5666) … |