首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
# 文件名:var.py
i = 5
print(i)
i = i + 1
print(i)

s = '''This is a multi-line string.
This is the second line.'''
print(s)
阅读全部 | tony_sgt 贴于 2024年5月21日 09:44     hide bbsi
a=1 
b=2 
print(a+b)  #返回 3
阅读全部 | tony_sgt 贴于 2024年5月21日 09:43     hide bbsi
a=1 
b=2 
print(a+b)  #返回 3
阅读全部 | tony_sgt 贴于 2024年5月21日 09:42     hide bbsi
a = 123

a = "bbb" 

print(a)

g = 234 

print(g)
阅读全部 | tony_sgt 贴于 2024年5月21日 09:42     hide bbsi
a = 123

a = "bbb" 

print(a)
阅读全部 | tony_sgt 贴于 2024年5月21日 09:41     hide bbsi
a = 123
阅读全部 | tony_sgt 贴于 2024年5月21日 09:41     hide bbsi
function G_ClothesMgr:GetClothesByCreatureID(nCreatureId)
local tbClothes = {}
for nClothesId, _ in pairs( self.tbClothes ) do 
local nCId = G_ClothesCfg:GetCreatureId(nClothesId)
if nCreatureId == nCId then 
if G_ClothesCfg:GetWeight(nClothesId) > 0 then 
table.insert( tbClothes,  nClothesId)
end
end
end
阅读全部 | SilverHowie 贴于 2024年5月13日 19:48     hide bbsi
a = 123
a = "bbb"
print(a)
g = 234 

print(g)
阅读全部 | 菠萝哥 贴于 2024年5月13日 16:34     hide bbsi
a = 123
a = "bbb"
print(a)
g = 234 

print(g)
阅读全部 | 菠萝哥 贴于 2024年5月13日 16:34     hide bbsi
a = 123
a = "bbb"
print(a)
g = 234 

print(g)
阅读全部 | 菠萝哥 贴于 2024年5月13日 16:34     hide bbsi
上一页 1 2 3 4 5 6 7 8 9 10 下一页