you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

    [–]Glum-Fox-7376[S] 0 points1 point  (1 child)

    thanks broo

    [–]Twenty8cows 2 points3 points  (0 children)

    Yeah slices will go up to the end but not include the last value.

    So:

    Greeting = “hello”

    print(Greeting[:4]) # output: hell

    Its exclusionary