Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: The self variable in a class..?
Post: RE: The self variable in a class..?

Just trying to figure out what that'self' is doing in a class. When ever I ask a question on the forum, I get a very professionelle techish answer. Problem is, as a newbie I dont understand an answer ...
mitmit293 General Coding Help 3 2,352 Feb-07-2019, 10:47 PM
    Thread: The self variable in a class..?
Post: The self variable in a class..?

Is it like the 'i' variable in for i in Range
mitmit293 General Coding Help 3 2,352 Feb-07-2019, 08:54 PM
    Thread: what to learn after the basics?
Post: what to learn after the basics?

hi first you do beginners guide, loops, int, string, lists, dictionaries ect. After completing it, then what? I google it, and links take me to lessons that look like a mix of greek, chinese, alien...
mitmit293 Web Scraping & Web Development 1 2,004 Feb-06-2019, 10:33 PM
    Thread: how do I take an input and put it in a function?
Post: RE: how do I take an input and put it in a functio...

from functools import lru_cache responce = input('what number') @lru_cache() def fibonacci(n): return fibonacci (responce-1) + (responce - 2) print('your number has been fibonaccied')It stil does not...
mitmit293 General Coding Help 4 2,717 Jan-30-2019, 04:44 PM
    Thread: how do I take an input and put it in a function?
Post: how do I take an input and put it in a function?

from functool import lru_cache @lru_cache() def fibonacci(n): if n == 1: return 1 elif n == 2: return 1 elif n > 2: return fibonacci(n-1) + (n-2) for n in range(1,34): print(n...
mitmit293 General Coding Help 4 2,717 Jan-29-2019, 09:12 PM
    Thread: Error: module 'urllib' has no attribute 'urlopen'
Post: Error: module 'urllib' has no attribute 'urlopen'

Error: module 'urllib' has no attribute 'urlopen' What is it then? (beginner)
mitmit293 Web Scraping & Web Development 2 14,954 Jan-29-2019, 01:52 PM
    Thread: whats the difference between sys.exit() and break?
Post: whats the difference between sys.exit() and break?

it a question from at total beginner, so its probably stupid, but bear with me.
mitmit293 General Coding Help 1 4,083 Jan-27-2019, 08:50 PM
    Thread: wont print last sentence..
Post: wont print last sentence..

import random a = random.randint(1,99) guess = int(input('et tal..')) print while a != guess: if guess < a: print('low..') guess = int(input('gæt igen..')) elif guess > a...
mitmit293 General Coding Help 2 2,325 Jan-27-2019, 04:01 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020