Size: 1495
Comment:
|
Size: 1982
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 36: | Line 36: |
/* Code snippet provided by Anubhaw Bhushan */ {{{ > # Python 3.0 or greater > name = 'Anubhaw' > 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(कहो) }}} |
Links to Python information in Hindi
हिन्दी
http://hi.wikipedia.org/wiki/मुखपृष्ठ
हिन्दी पायथन (Python) पृष्ठों में आपका स्वागत है
> # Python 3.0 or greater > name = 'Anubhaw' > 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(कहो)