-module(helloworld).
-import(lists,[nth/2]).
-export([start/0]).
start() ->
Lst1 = [1,2,3],
io:fwrite("~p~n",[nth(2,Lst1)]).
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266302.html
-module(helloworld).
-import(lists,[nth/2]).
-export([start/0]).
start() ->
Lst1 = [1,2,3],
io:fwrite("~p~n",[nth(2,Lst1)]).
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266302.html