Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automation in calculations
#2
1) If you "print(i)" you print everything from 0 to "end-1"
2) If you want to start with "start" you'll need to increment using the "+=" operator
3) It's not entirely clear what you mean by "selected value", is it "end"?

How will you make sure that if you increment "start" with "step" that it will come out
exacly on "end". (Or bigger than ?)...

(Unless you are looking to implement the parameters in the for loop (start, end, step),
then you'll need another approach.)

Paul
Reply


Messages In This Thread
Automation in calculations - by interdisciplinary - Dec-10-2020, 11:16 AM
RE: Automation in calculations - by DPaul - Dec-10-2020, 03:43 PM
RE: Automation in calculations - by deanhystad - Dec-10-2020, 03:57 PM
RE: Automation in calculations - by deanhystad - Dec-10-2020, 11:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Parameterized math calculations? babaliaris 7 18,396 Jun-01-2022, 10:19 AM
Last Post: Gribouillis
  Python, how to manage multiple data in list or dictionary with calculations and FIFO Mikeardy 8 4,310 Dec-31-2021, 07:47 AM
Last Post: Mikeardy
Photo Filtering data and precision during calculations Scientifix 0 2,301 Mar-30-2021, 01:00 PM
Last Post: Scientifix
  List calculations rturus 1 2,338 Mar-23-2021, 04:40 PM
Last Post: deanhystad
  Latitude&Longitude Calculations gdimit 3 4,614 Jan-30-2018, 07:47 AM
Last Post: buran

Forum Jump:

User Panel Messages

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