- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
5 Posted Topics
Go to the main Python website (python.org I believe) download the appropriate installer, and go through the tutorials with the included manual.
I can't do it through the normal way because it's been locked out by administration (I'm at school). I'm just trying to add the Python installation.
I'm trying to make a QR encoder that takes a text file of URLs and names and generates QR bar codes with the URLs and names. Can anyone point me in the right direction?
[code] # nth_prime.py def nth_prime(n): primes = [2] test_int = 1 while len(primes) < n: test_int += 2 for p in primes: if test_int % p is 0: break else: if p is primes[len(primes)]: primes.add(test_int) return primes[n - 1] while True: try: num = int(input("Enter a number:\n")) print(nth_prime(num)) except ValueError: …
You're almost there, you just need a function that mimics min() (does the Java standard library have one?) and substCost(). Looks like there is one, but it only take two arguments. Here is what I have so far: [code] public static int distance(String s1, String s2) { int a = …
The End.
DecreaseEntropy