Size: 1949
Comment: added AB's (actually Rami's translated) code snippet
|
Size: 2051
Comment: added lang code and categorylanguage
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
ISO 639-1 Code: hi |
|
Line 39: | Line 41: |
> name = 'Anubhaw' | |
Line 45: | Line 48: |
> def Namaste(Anubhaw): > to_say = "Namaste, {0}. Kaise hain?".format(Anubhaw) |
> def Namaste('Anubhaw'): > kaho = "Namaste, {0}. Kaise hain?".format('Anubhaw') |
Line 50: | Line 53: |
> to_say = "नमस्ते, {०}. कैसे हैं?".format(अनुभव): > print(कहो) |
> कहो = "नमस्ते, {०}. कैसे हैं?".format(अनुभव): > print(कहो) |
Line 55: | Line 58: |
NewLanguagePage | ---- CategoryLanguage CategoryPythonIndia CategoryUnicode |
Links to Python information in Hindi
ISO 639-1 Code: hi
हिन्दी
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(कहो)