Search:

Type: Posts; User: philjt

Search: Search took 0.20 seconds.

  1. Replies
    2
    Views
    1,151

    Re: Java equivalent of Python :-1

    It is list indexing, it returns all elements [:] except the last one -1.

    For now Im using a loop excluding the last element. Seems to work I guess. Thanks.
  2. Replies
    2
    Views
    1,151

    Java equivalent of Python :-1

    Hi,

    I have some python code which I am trying to convert into a java equivalent for a project at work and am a little stumped over one bit of code.
    I think its a case of I've been looking at this...
Results 1 to 2 of 2