Continued "My language mylangV1.0 officially launched": input and output in mylang

Continued "My language mylangV1.0 officially launched": input and output in mylang

Preface

"My language mylangV1.0 officially launched"

Start

  1. enter
    @built_in python_run:comp('$<name> = "{0}"'.format(input('<str>')))
    
    The method described above <name>and <str>should be replaced
    <name> : the name to be entered into the (variable)
    <str>:( input) prompt
  2. Output
    @built_in python_run:print('{0}'.format(comp('<val>')))
    
    <val>Replace in the above method
    <val> : (output) value
    3. Other
    @built_in python_run:<cmd>
    
    <cmd>Replace in the above method
    <cmd> : python instruction
Author

hit-road

Bye, get out of class is over!

Hit-road will be updated from time to time, see or leave!

Guess you like

Origin blog.csdn.net/weixin_42954615/article/details/108627953