美文网首页
2. 2019-02-14 变量

2. 2019-02-14 变量

作者: ABYYU | 来源:发表于2019-02-14 19:44 被阅读0次

    1. 变量命名原则

    成分:数字,字母,符号仅包括_和.

    规则:

    .后不跟数字

    _和数字不开头

    2. 输入输出

    输入:左右箭头,等于号赋值

    输出:print(), cat() #cat可用于多个变量

    3. 查找变量和删除变量

    函数1:ls()

    print(ls(pattern = "")) #ls() all is listed; pattern includes pattern variable

    函数2:rm()

    print() #if a then not found; if all then ls() inside

    相关文章

      网友评论

          本文标题:2. 2019-02-14 变量

          本文链接:https://www.haomeiwen.com/subject/szneeqtx.html