<code class="hljs lua">name = raw_input("What is your name? ")
if(name.endswith('Gumby')):
print 'Hello, Mr. Gumby'</code>
<code class="hljs lua">name = raw_input("What is your name? ")
if(name.endswith('Gumby')):
print 'Hello, Mr. Gumby'
else:
print 'Hello, Stranger'</code>
<code class="hljs python">num = input('Enter a number: ')
if num >0 :
print 'The number is positive'
elif num < 0:
print 'The number is negative'
else:
print '0'</code>
<code class="hljs lua">x = 1 while x <= 100 print x x += 1</code>
<code class="hljs livecodeserver">words = ['this', 'is', 'an', 'ex', 'parrot'] for word in words: print word</code>
<code class="hljs lua">d = {'x':1, 'y':2, 'z':3}
for key in d:
print key, 'corresponds to', d[key]</code>
<code class="hljs lua">names = ['name', 'beth', 'george', 'damo'] ages = [12, 45, 32, 99] for name, age in zip(names, ages): print name, 'is', age, 'years old'</code>
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有