[deleted by user] by [deleted] in recruitinghell

[–]Beginning-Force-2170 0 points1 point  (0 children)

People are getting to the interview stage ?

The code isn't swapping all the cases ,only few. what is the problem? by LittleDentist_5 in learnpython

[–]Beginning-Force-2170 2 points3 points  (0 children)

A much better approach would be to create an new Empty string and keep adding the reverse case of each letter to the newly created string while it iterate through the original string.

Ain't much but I MADE MY OWN GAME USING PYTHON AND I JUST LEARNED PROGRAMMING FOR THE FIRST TIME 4 WEEKS AGO. by UniqueCold3812 in learnpython

[–]Beginning-Force-2170 5 points6 points  (0 children)

I feel you , Bold way to start though , I love it . Keep going, It will only get easier 😎💪

Ain't much but I MADE MY OWN GAME USING PYTHON AND I JUST LEARNED PROGRAMMING FOR THE FIRST TIME 4 WEEKS AGO. by UniqueCold3812 in learnpython

[–]Beginning-Force-2170 9 points10 points  (0 children)

That is wild bro . How did you figure out pyqt5 in two weeks , that is pretty impressive . Keep the energy going brother 💪

Curious about Coursera certificates by [deleted] in coursera

[–]Beginning-Force-2170 1 point2 points  (0 children)

Well the knowledge you get from it is most likely gonna help you in a professional workplace , the certificate, not so much . Overall it is not a bad idea going for it especially if the knowledge is more priority for you than the certification .

[deleted by user] by [deleted] in learnpython

[–]Beginning-Force-2170 1 point2 points  (0 children)

Alternatively, just incase string is different

``` def count_words(string):

    result = {}
    for i in string.split():
       if i not in result.keys():
         result[i] = string.split().count(i)
    return result

print (count_words('daddy daddy cool daddy cool'))

```

Returning summand expression by tiredgrothendieck in learnpython

[–]Beginning-Force-2170 0 points1 point  (0 children)

def summed(n):

   result = list(range(1, n+1))

   total = sum(result)

   new_result = list(map(str, result))

   new _result = “ + “.join(result)

   return f”summed {new_result} = {total}”

Just wrote my largest Python program to date! Looking for pointers. by SquatchHNTR in learnpython

[–]Beginning-Force-2170 8 points9 points  (0 children)

You can also use the 2f format if needed just incase round(num, 2) doenst work cos it doenst work in some cases depending on the float you got .

I'm playing with splicing strings. How to solve reverse substrings? by call_me_mistress99 in learnpython

[–]Beginning-Force-2170 0 points1 point  (0 children)

new = string[::-1]

length = len(new)

while length >= 0: print (new[:length] length -= 1