Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with basics
#2
Hi,

Quote:What is the issue in this?
The question is more like: what's YOUR issue with that? Any error messages? Unexpected behavior?
This is a help forum, not a guessing game. Which means that we have no intention to guess what your problem is, YOU should to describe it.

But what I can say without guessing: your code has at least four errors and the else branch is
mathematically wrong. E.g. if x is prime, your code would say it's dividable by 3.

Regards, noisefloor
Reply


Messages In This Thread
Problem with basics - by Wraith2102 - Jun-17-2019, 05:56 PM
RE: Problem with basics - by noisefloor - Jun-17-2019, 06:07 PM
RE: Problem with basics - by perfringo - Jun-17-2019, 06:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Learned Python Basics, what now? muzikman 20 6,336 Oct-11-2021, 01:34 AM
Last Post: Underscore
  PYserial basics? bako 10 5,326 Apr-26-2020, 09:15 PM
Last Post: bowlofred
  [split] Debugging scripts basics tultalk 5 3,206 Apr-25-2020, 01:02 AM
Last Post: menator01
  Debugging scripts basics bako 8 3,712 Apr-24-2020, 06:18 AM
Last Post: Larz60+
  Dictionary Basics pythonjm 5 3,610 Nov-26-2018, 11:11 PM
Last Post: pythonjm
  What to do after learning python basics xyzabc12310000 1 2,906 May-20-2018, 11:43 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

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