Python笔记(3)
摘要:
Python的基本运算表达式(1)判断语句关于if语句的规则我不再介绍,只在这里提出Python下if语句的用法,以及特点。#!/usr/bin/python# Filename: if.py number = 23guess = int(raw_input('Enter an integer : '))if guess == number: print 'Congratulations, you guessed it.' # New block starts here print "(but you do not win any prizes!)&q 阅读全文
posted @ 2009-10-12 17:45 karying 阅读(174) 评论(0) 推荐(0) 编辑