elif demo,elif,num = input(
elif demo,elif,num = input(
num = input('Enter a number: ')if num > 0: print 'The number is positive'elif num < 0: print 'The number is negative'else: print 'The number is zero'
相关内容
- Import a pre-defined module,importpre-defined,#//File: mod
- Module import,moduleimport,#File: perso
- Statement: pass,statementpass,# The pass s
- The type Function,thetypefunction,#returns the
- Small 'u' in front of the quote indicates that an Uni
- Assigning Multiple Values at Once,assigningmultiple,v = ('a', 'b
- While loop with counter-controlled repetition.,,total = 0
- SAX-Based Analysis of the Guacamole Recipe,sax-basedguacamole,impor
- Validate Python LaTeX formatting (Raymond Hettinger),,'''PYTHON SO
- A simple calculator,simplecalculator,from Tkinter
评论关闭