Size: 1437
Comment: checking if the script works
|
Size: 1950
Comment: corrected mistakes in code
|
Deletions are marked like this. | Additions are marked like this. |
Line 32: | Line 32: |
http://hi.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE:Devanagari_Help | [[http://hi.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE:Devanagari_Help|http://hi.wikipedia.org/wiki/मुखपृष्ठ]] |
Line 36: | Line 36: |
/* Code snippet provided by Anubhaw Bhushan */ {{{ > # 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(कहो) }}} |
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(कहो)