6
Possible Duplicate:
Syntax error on print with Python 3geçersiz sözdizimi baskı Python 3.3.0
im piton 3'te çarpınımını yapmaya çalışıyor ve ben koydum neyse: ... "Geçersiz sözdizimi sözdizimi hatası" Neden ben veriyor bir hata ? teşekkürler
versiyonu
Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:57:17) [MSC v.1600 64 bit (AMD64)] on win32
bu im
>>> def fact(n):
... res = 1
... while n > 1:
... res *= n
... n -= 1
... return res
yapmaya çalışıyor ne olduğunu ve ben
>>> print fact(23)
yazdırmaya çalıştığınızda bana SyntaxError söyler: geçersiz sözdizimi