Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Newbie question
Post: RE: Newbie question

Seems the mistake is not my code which works, but that it should have been x/2 as you said for even in your post. It was of course repeating the first even number it came across in my version. Oops! I...
Shadowlord General Coding Help 2 1,961 Sep-30-2019, 12:52 PM
    Thread: Newbie question
Post: Newbie question

I am trying to answer one of the questions in Automate the Boring Stuff with Python. The function (which seems to work correctly) should retun x if an even number and 3*x+1 if an odd number. I am then...
Shadowlord General Coding Help 2 1,961 Sep-30-2019, 12:23 PM

User Panel Messages

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