top of page
- Script Code -

import sys

sys.path.append(RPR_GetResourcePath() + r"/UserPlugins")

from RIGDOCKS_python import *


a = {"a","b","c"}

x = len(a)

Msg(x)


b = {1,2,3,4,5}

y = len(b)

Msg(y)

- Warm Up -



- Script Detail -

import sys

sys.path.append(RPR_GetResourcePath() + r"/UserPlugins")

from RIGDOCKS_python import *


  • Import common functions


a = {"a","b","c"}

x = len(a)

Msg(x)


  • Test with a string: Prepare an array and output its length with len

  • Console output with Msg function


b = {1,2,3,4,5}

y = len(b)

Msg(y)


  • Test with integers: Prepare an array and output its length as len

  • Console output with Msg function

- API LINK -
- API LINK -

Beginner

AZ_len

01_BRONZE_ss_edited.png
01_SILVER_edited_edited.png
03_GOLD_edited_edited.png
bottom of page