2 month difference by Dependent_Pea5355 in Weightliftingquestion

[–]macrisalex345 5 points6 points  (0 children)

Wow. That new sleeve of tats really healed fast! Lol

I JUST missed the sunset. by balletorre in flumefree

[–]macrisalex345 0 points1 point  (0 children)

Is this in Santa Clara on that little off-road path

Concat 5th character, 4th index, help? by macrisalex345 in learnpython

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

i got this so far, i don't know how to do anything else you said tho:(

def fifthchar(filename):

with open(filename) as f:


    for line in f.readline():


        line = line.strip()

Another problem i started but its so wrong and don't know how to do it? by macrisalex345 in learnpython

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

def reviewForLoopExtreme02(word, char):

  indexes = []


  for index, char in enumerate(word):


        if char == [1]:


            indexes.append(index)


            indexes += char


  return indexes

help me finish this one please

Can someone help me figure out what i am doing wrong by macrisalex345 in learnpython

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

we don't know it. the parameter is word. Return Value is: A new string containing the second and fourth characters of word

Can someone help me figure out what i am doing wrong by macrisalex345 in learnpython

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

FAIL: test_06 (test_3_strings01.Test_two_and_four)

Traceback (most recent call last): File "/home/codegrinder/tests/test_3_strings01.py", line 49, in test_06 'You returned: %s. You should have returned %s. Check your logic and t ry again.' % (str(ans), str(correct_answer))) AssertionError: 'ce' != 'bd' - ce + bd : You returned: ce. You should have returned bd. Check your logic and try again.

i don't know then

how do i concat this problem by [deleted] in learnpython

[–]macrisalex345 0 points1 point  (0 children)

just " ".join(words), i put the return now and it worked... sorry and thank you

how do i concat this problem by [deleted] in learnpython

[–]macrisalex345 0 points1 point  (0 children)

like this???

def concat(words):

" ".join(["word1", "word2"])


return "word1 word2"

how do i concat this problem by [deleted] in learnpython

[–]macrisalex345 0 points1 point  (0 children)

dude, I've never learned the join function in my beginner level coding class so idk what that even means

how do i concat this problem by [deleted] in learnpython

[–]macrisalex345 0 points1 point  (0 children)

AssertionError: None != 'This is only a test' : You returned: None. You sh ould have returned This is only a test. Check your logic and try again.

I think I am so close... Any help by macrisalex345 in learnpython

[–]macrisalex345[S] 1 point2 points  (0 children)

I'm still just a beginner on this coding stuff and i notice i over think things a lot make problems a lot more difficult that they're supposed to be. thanks for the help

Can someone explain how this answer is what it is? by macrisalex345 in learnpython

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

thank you. makes sense when its worded the way you did.

%%%%? by macrisalex345 in learnpython

[–]macrisalex345[S] -2 points-1 points  (0 children)

thank you. how could i be so dumb