【文件属性】:
文件名称:python与mel基础语法区别
文件大小:52KB
文件格式:DOC
更新时间:2016-10-03 02:54:12
python mel
其实所有编程语言的差异在概念上的差异都很小,只是有些功能更多,涵盖量更大更复杂,而有些功能少,但简单易学
这里来一起看下mel与python语法上的差别
首先归类为以下几点
1, 变量
mel:
string $st="hello world";
int $it=5;
float $ft=2.5;
float $doubleft=$ft+$ft;
string $doublest=$st+$st;
int $powit=$it*$it;
string $it="hello world";
// Error: Invalid redeclaration of variable "$it" as a different type. //
.
.
.
.
.