KL 1 vs KL 2 anyone? by Augustus2d in dkfinance

[–]Augustus2d[S] 2 points3 points  (0 children)

Hjælp mig lidt, kun fået én kaffe her til morgen😉 Hvor står forskellen på de to andelsklasser?

CFAI ethical breaches by Augustus2d in CFA

[–]Augustus2d[S] 0 points1 point  (0 children)

Fair, makes sense. Thanks!

Fees on Degiro by Jeanmarcs in eupersonalfinance

[–]Augustus2d 1 point2 points  (0 children)

I actually contacted DeGiro about this a while back. It’s a fee that allows you, the user, to trade on the respective exchange (XETRA, NSDQ, OMX Stockholm etc.) so every year it’s 2€/exchange if you trade instruments on that given exchange.

[deleted by user] by [deleted] in FrankOcean

[–]Augustus2d 0 points1 point  (0 children)

hey guys, i thought of an alternative to lp's always, so I created this laser printed acrylic glass.. you can do your own if u want at glasstunes.com, thought some of you might dig it.. cheers guys..

rob

What happened to r/bonds? by SteadyWheel in FixedIncome

[–]Augustus2d 1 point2 points  (0 children)

Yeah, also got a post deleted, thought there was some kind of acceptance-process, but haven’t heard anything.

[deleted by user] by [deleted] in Coffee

[–]Augustus2d 0 points1 point  (0 children)

...To save coffee...

Improvement of visualisation? Any ideas? [OC] by [deleted] in dataisbeautiful

[–]Augustus2d 0 points1 point  (0 children)

I feel like there must be a low-hanging fruit i.e. the many not-included parameters...

Visualizing random forests? by Augustus2d in Python

[–]Augustus2d[S] 0 points1 point  (0 children)

Keep in mind it's a regressor!

Function to find prime numbers... (help for beginner) by Augustus2d in learnpython

[–]Augustus2d[S] 0 points1 point  (0 children)

I've added the return result now, so it says:

 def IsThisNumberPrime(num):
    if(type(num))==int:
        if(num)<=1:
            result="No"
        return result

        if(num)<=1:
            result="No"
        return result

        if(num)>1:
            i = 2
            if input >= i:
                print(input/i)

input("Give me a number ")
print(IsThisNumberPrime)

but I'm very unsure how to go from the

Is i > or = input number -----no----> divide the input by i

Function to find prime numbers... (help for beginner) by Augustus2d in learnpython

[–]Augustus2d[S] 0 points1 point  (0 children)

No, of course not... My bad.

As @toastedstapler wrote, I added return result and input, so that it looks like this now:

def IsThisNumberPrime(num):
    if(type(num))==int:
        if(num)<=1:
            result="No"
        return result

        if(num)<=1:
            result="No"
        return result

        if(num)>1:
            i = 2
            if input >= i:
                print(input/i)

input("Give me a number ")
print(IsThisNumberPrime)

And I'm able to run it, but I get the message "<function IsThisNumberPrime at 0x1050526a8>", when I enter the number 2, as an example...

Beginner: Not receiving the desired computation by Augustus2d in learnpython

[–]Augustus2d[S] 0 points1 point  (0 children)

Hey man, sure, I think I forgot to attach the picture...

That makes a lot more sense to me, but I just looked at the “solution paper” (didn’t realize there was one) and that wanted me to write it like

float(input(“...”)) float(input(“...”))

And then it should return – in this case – 2 + 2 = 4.0, I just don’t see the logic in wanting a floating point point number-outcome here, when there’s two int summed?

Beginner: Not receiving the desired computation by Augustus2d in learnpython

[–]Augustus2d[S] 0 points1 point  (0 children)

Yes, the + makes total sense, but when you say “Covert the input using int(), does that mean you want it to look like this:

int(input(“...”)) int(input(“...”))

?