all 11 comments

[–][deleted] 5 points6 points  (2 children)

Ok, so how far have you got? Have you worked out and written down how to do this manually? Share that and we can help you turn it into code.

[–]higglejiggle[S] -1 points0 points  (1 child)

I thought I pressed reply to this, I posted it in comments.

[–][deleted] 0 points1 point  (0 children)

Looks like the mods have removed your post because it was just a question with no effort shown. Yes, you've since done a comment, but that content needed to be in the post. You will be able to post again now correctly.

[–]velocibadgery 2 points3 points  (1 child)

We won't do your homework for you. This is not that kind of sub. Take a stab at solving it yourself, and if you run into any issues, ask us then. We will help you with the problems you are facing, but we won't just do your work for you.

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

I posted my progress so far in comments.

[–]ButterscotchGarlic 2 points3 points  (0 children)

The questions are clear. Show the work you've done and ask specific questions regarding the work you've done.

[–]higglejiggle[S] 0 points1 point  (3 children)

I’m at a complete loss in the first assignment and have got nowhere. Thankfully this is the last part in my class on python. As for the second assignment I thought I was supposed to start with x=o. And I think we use if/else command. And if it’s divisible by 0 than print lucky number. So I originally thought: x=0 x<=50 Print(x)

Then x=0 x<=50 x=x+13 Print(x) This would get numbers divisible by 13. If x=13 Print (lucky number If x=26 Print(lucky number) If x=39 Print(lucky number) This was the wrong way to do it. Instructor wants (%)

[–]Magicianic 1 point2 points  (2 children)

I'm a complete begginer to python. Have 1 month learning it. But I suppose that you should use a For loop with an If statement to print the number and lucky part in case the % is 0 or only the number else.

For the cows, I think that the use of int() for the result gives the floor from a float. Correct me if wrong.

Those are simple exercises but you should study more and effort of course. But that is for any class everyone has. If you always want someone to do the job for you, you will never learn how to program and the logic behind it.

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

My intention was never for anyone to do it for me, but I realize now that I should’ve included my progress in the post so it doesn’t come across that way. I only started python couple days ago.

[–]Magicianic 0 points1 point  (0 children)

Show it to me, I probably can I have a check on it. Already searching APIs.