|
Size: 1949
Comment: added AB's (actually Rami's translated) code snippet
|
Size: 1950
Comment: corrected mistakes in code
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 46: | Line 46: |
| > to_say = "Namaste, {0}. Kaise hain?".format(Anubhaw) | > kaho = "Namaste, {0}. Kaise hain?".format(Anubhaw) |
| Line 50: | Line 50: |
| > to_say = "नमस्ते, {०}. कैसे हैं?".format(अनुभव): | > कहो = "नमस्ते, {०}. कैसे हैं?".format(अनुभव): |
Links to Python information in Hindi
हिन्दी
http://hi.wikipedia.org/wiki/मुखपृष्ठ
हिन्दी पायथन (Python) पृष्ठों में आपका स्वागत है
> # Python 3.0 or greater
> def say_greeting(name):
> to_say = "Greetings, {0}. How are you?".format(name)
> print(to_say)
In Hindi,
> def Namaste(Anubhaw):
> kaho = "Namaste, {0}. Kaise hain?".format(Anubhaw)
> print(kaho)
> def नमस्ते(अनुभव):
> कहो = "नमस्ते, {०}. कैसे हैं?".format(अनुभव):
> print(कहो)