Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Coding upgrade
#3
(Mar-22-2024, 03:56 PM)deanhystad Wrote: You should post a description of what the program is supposed to do. This was missing from your previous post also.

Is the goal to sort the frogs in decreasing order by their interval? What is a "step"? Is comparing two intervals a step, or is a step when you swap two frogs? Is there a restriction on how frogs can be swapped?
Sorry, the first thing i want to do is make it also have option to asking for custom input or generating random number like etc: i want to enter [0,10,7,1,6,4] instead of randomly generating number, i already tried modified it but ended in error, do you have code to make it asking the number instead of random?
Reply


Messages In This Thread
Coding upgrade - by MoreMoney - Mar-22-2024, 02:36 PM
RE: Frog Jumping Coding Improvement - by deanhystad - Mar-22-2024, 03:56 PM
RE: Frog Jumping Coding Improvement - by MoreMoney - Mar-22-2024, 04:02 PM
RE: Frog Jumping Coding Improvement - by deanhystad - Mar-22-2024, 04:16 PM
RE: Frog Jumping Coding Improvement - by MoreMoney - Mar-22-2024, 04:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to upgrade this code. valentino1337 2 641 Feb-28-2024, 07:44 PM
Last Post: jefsummers

Forum Jump:

User Panel Messages

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