Python Forum
Code is Working As-Is, Looking for Pointers to Improve
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Code is Working As-Is, Looking for Pointers to Improve
#4
(May-05-2022, 09:22 PM)Larz60+ Wrote: do you have an example of what the output should look like if done completely in python?

Rubric 1
SFI: 120 / K: 2 / A: 4 / Sunspots: 85 / SNR: S1-S2 / MUF: 20.54 / VHF: Band Closed
Rubric 2
80-40:Fair 30-20:Good 17-15:Fair 12-10:Fair 30-20:Good 17-15:Fair 12-10:Poor
Both outputs result in easily readable formatting on my pager's tiny screen, that's why the outputs of both rubrics do not match, and also why I had to break it up into two. Rubric 1 word wraps on the screen, so I used "/" to separate the values, and Rubric 2 shows up as a list, with each frequency range and condition on it's own line:
80-40:Fair
30-20:Good
...
...
Reply


Messages In This Thread
RE: Code is Working As-Is, Looking for Pointers to Improve - by ki5nyz - May-06-2022, 04:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to improve this Python 3 code? iamaghost 6 3,706 Jan-18-2021, 06:39 PM
Last Post: iamaghost

Forum Jump:

User Panel Messages

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