python code to print jain scriptures
Answer
Here is a simple Python code example to print the names of some well-known Jain scriptures:
```python
List of Jain scriptures
jain_scriptures = [ "Acharanga Sutra", "Sutrakritanga Sutra", "Uttaradhyayana Sutra", "Kalpa Sutra", "Tattvartha Sutra", "Samayasara", "Niyamasara", "Panchastikayasara", "Shatkhandagama", "Kasayapahuda" ]Print them one by one
print("Jain Scriptures:") for scripture in jain_scriptures: print("-", scripture) ```Explanation
This code:
- stores scripture names in a Python list
- uses a `for` loop to print each one
- displays them in a clean format
If you want, you can also print them as a numbered list:
```python jain_scriptures = [ "Acharanga Sutra", "Sutrakritanga Sutra", "Uttaradhyayana Sutra", "Kalpa Sutra", "Tattvartha Sutra", "Samayasara", "Niyamasara", "Panchastikayasara", "Shatkhandagama", "Kasayapahuda" ]
print("Jain Scriptures:") for i, scripture in enumerate(jain_scriptures, start=1): print(f"{i}. {scripture}") ```
Spiritual Understanding
In Jain Dharma, scriptures guide us toward:
- right knowledge
- right conduct
- non-violence
- self-discipline
- spiritual purity
So even a small script like this can be used to create a respectful digital list of sacred Jain texts.
Takeaway
If you want, I can also give you:
- code to print Gujarati Jain scriptures
- code to print full text from a file
- code to print Jain sutras in a beautiful format