1950
Comment: corrected mistakes in code
|
1982
|
Deletions are marked like this. | Additions are marked like this. |
Line 39: | Line 39: |
> name = 'Anubhaw' | |
Line 45: | Line 46: |
> def Namaste(Anubhaw): > kaho = "Namaste, {0}. Kaise hain?".format(Anubhaw) |
> def Namaste('Anubhaw'): > kaho = "Namaste, {0}. Kaise hain?".format('Anubhaw') |
Line 50: | Line 51: |
> कहो = "नमस्ते, {०}. कैसे हैं?".format(अनुभव): > print(कहो) |
> कहो = "नमस्ते, {०}. कैसे हैं?".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(कहो)