728x90 Python1 파이썬 문법공부 1 # 파이썬에서 연산 Python has six basic operations for numbers: OperationSymbolExamplePower (exponentiation)**5 ** 2 == 25Multiplication*2 * 3 == 6Division/14 / 3 == 4Remainder (modulo)%14 % 3 == 2Addition+1 + 2 == 3Subtraction-4 - 3 == 1 # Input and Variables 1234print "Halt!"user_reply=raw_input("Who goes there?")print "You may pass,", user_reply Colored by Color Scriptercs # While Loop 12345a = 0whil.. 2015. 3. 24. 이전 1 다음 반응형