pss sarsavati song , house and plants
# Define planets and houses attributes
planets_attributes = {
"SUR": ["గోధుమలు", "తూర్పుదిశ", "కెంపు", "అతిసారము, జ్వరము, వేడి అగుట, శ్వాససంబంధ రోగములు", "తండ్రికి", "పురుషుడు", "మిరప కారము", "గోధుమరంగు"],
"CHA": ["బియ్యము", "వాయువ్యదిశ", "ముత్యము", "పాండురోగము, రక్తలేమి, కామెర్లు, జలరోగములు, నీరసము, నాసికారంధ్రములలో బాధ, స్త్రీ సంబంధ వ్యాధులు, మూత్రము సరిగా రాకుండుట", "తల్లికి", "స్త్రీ", "ఉప్పు (చౌడుప్పు)", "తెల్లనిరంగు"],
"KUJ": ["కందులు", "దక్షిణదిశ", "పగడము", "వరిబీజాలు, బీజము వాపు, కత్తిపోట్లు, కత్తి గాయములు, మశూచి, కఫము, వ్రణములు, పుండ్లు, గ్రంథుల రోగము, థైరాయిడ్ మొదలగునవి", "సోదరులకు", "పురుషుడు", "వేప చేదు", "ఎరుపురంగు"],
"BUD": ["పెసలు", "ఉత్తర దిశ", "పచ్చ", "ఉదరబాధలు, కుష్టు రోగము, వేడి, నొప్పులు, మర్మావయవముల బాధలు, దయ్యముల వలనగానీ, క్షుద్ర దేవతలవలనగానీ వచ్చు శరీర రోగములు, బాధలు", "మామకు", "నపుంసకుడు", "వగరు", "ఆకుపచ్చ రంగు"],
"GUR": ["సెనగలు", "ఈశాన్యదిశ", "పుష్యరాగము", "కన్పించని మర్మస్థాన రోగములు, శుక్ల నష్ట వ్యాధులు, కాళ్ళ మంటలు", "పుత్రునికి", "పురుషుడు", "పూర్తి తీపి", "పసుపు రంగు"],
"SUK": ["బొబ్బర్లు", "ఆగ్నేయదిశ", "వజ్రం", "మధుమేహము, స్త్రీల నుండి సక్రమించు సుఖవ్యాధులు, పర యువతుల కొరకు కామ వికారము, మూత్ర రోగములు, అతి మూత్రము, ఎచ్.ఐ.వి. రోగము, గనేరియా, సిఫిలిస్ రోగములు", "భార్యకు", "స్త్రీ", "నిమ్మ పులుపు", "తెలుపు రంగు"],
"SAN": ["నువ్వులు", "పడమరదిశ", "నీలము", "మూలవ్యాధి, కీళ్ళ వ్యాధులు", "ఆయువుకు", "నపుంసకుడు", "కారకాయ వగరు", "నలుపు రంగు"],
"RAH": ["మినుములు", "నైరుతిదిశ", "గోమేధికము", "మూర్చ, అపస్మారము, మశూచి, ఉష్ణరోగములు", "చోరులకు", "స్త్రీ", "మిరియాల కారము", "సిమెంటు రంగు"],
"KET": ["ఉలవలు", "పైకి", "వైఢూర్యము", "దురద, రహస్య వ్యాధులు, క్యాన్సర్", "నిరాకార జ్ఞానమునకు", "నపుంసకుడు", "ఉప్పు", "కొన్ని కలిసిన రంగులు"],
"BOM": ["జొన్నలు", "క్రిందికి", "నల్లరాయి", "అరికాళ్ళ, అరచేతుల మంటలు, కాళ్ళు చేతులు చీలుట", "అజ్ఞానమునకు", "పురుషుడు", "బీరకాయ చేదు", "నీలిరంగు"],
"MIT": ["రాగులు", "పైకి", "ఎర్రరాయి", "తలనొప్పి, వెన్నెముక నొప్పి, నడుము నొప్పి, మనోరోగములు", "మిత్రునికి", "స్త్రీ", "లేత", "వక్క (పొక) రంగు"],
"CHI": ["అలసందలు", "క్రిందికి", "తెల్లరాయి", "మోకాళ్ళ నొప్పులు, గుండెనొప్పి", "శత్రువుకు", "నపుంసకుడు", "చింత పులుపు", "లేత పసుపు"]
}
houses_attributes = {
"H1": ["పుణ్య స్థానము :తనువు: శరీరము, ఆత్మ, రూపము, స్వభావము, అంగ సౌష్టవము ", ""],
"H2": ["పాపపుణ్య మిశ్రమ స్థానము :ధనము స్థానము: కుటుంబము, నేత్రము,వాక్కు, కర్ణము (చెవి), ముఖ వర్చస్సు, మరణము మంచి కుటుంబముతో ఉండడమేకాక ఆ కుటుంబము దైవభక్తి కలదై ఉండును ", ""],
"H3": ["పాప స్థానము : సోదర స్థానము:స్వంత అన్నదమ్ములు,దాయాదులతో ఇబ్బందులు,వారి పెళ్ళిళ్ళు అయ్యేవరకు తనకు పెళ్ళి కాకుండా పోవుట ", "భార్య"],
"H4": ["పాపపుణ్య మిశ్రమ స్థానము :మాతృస్థానము:ఆస్తిబలము నాల్గవ స్థానములోనూ:తల్లికి, వాహనమునకు, భూమికి, గృహమునకు, కోనేరు, బావి, చెరువులకు, వ్యయసాయమునకు, పశువృద్ధికి, పంటలకు, బంధువులకు నిలయముగా ", ""],
"H5": ["పుణ్య స్థానము : విద్యాస్థానము:బుద్ధిబలము ఐదవ స్థానములోను ,వివేకమునకు, సమయస్ఫూర్తికి, గ్రాహితాశక్తికి,సంతానము ", ""],
"H6": ["పాపపుణ్య మిశ్రమ స్థానము :శత్రు, రుణ, రోగ, సమస్యలు", "వడ్డీ వ్యాపారముతో, వైద్యవృత్తితో ధనార్జన ", ""],
"H7": ["పాప స్థానము : కళత్రస్థానము: ", "భార్య సౌఖ్యము,యౌవ్వన కాలమంతా వ్యర్థమగు,వివాహము కష్ట,ఒకవేళ వివాహమైనా అది కొంత కాలమునకే చెడిపోయి భార్య విడిపోవును. ఉన్నంత కాలము భార్య భర్తలకు ఏమాత్రము పొసగదు,శుభగ్రహముండినా లేక శుభగ్రహము తన చేతులతో తాకినా కళత్రము నుండి లభించు అన్ని రకముల కష్టములు లేకుండా పోవును,పుణ్యము లేకున్నా శుభగ్రహము ఉండుట వలన శుభ గ్రహము ఎదురుగా ఒకటవ స్థానముననున్న పుణ్యములను గ్రహించి,భార్యవలన మనోకలత చెంది చివరకు ఆత్మహత్య చేసుకొనును "],
"H8": ["పాపపుణ్య మిశ్రమ స్థానము : ఆయుస్థానము: ", "ఈ స్థానములో ఎన్నో విషయములున్నా, ఆయుష్షు విషయమునకే ఎక్కువ ప్రాధాన్యత కలదు,దేహపుష్టి, వీర్యపుష్ఠి కలిగి కామసౌఖ్యమును అనుభవించును,స్త్రీలతో అవమానము ,అంగలోపము, స్త్రీల వలన దుఃఖము. శత్రు భయము,అకాల మృత్యు భయము,చేయు పనిలో ప్రతిభ కల్గి,శత్రు గ్రహముగ రాహువున్న విషాహారము వలన చంద్రుడు పాపియై అష్టమమున ఉన్న నీటిగండముతో,శుక్రుడు శత్రుగ్రహమై అగ్ని వలన కాల,బుధగ్రహము దయ్యములు చేరి ,*కుజగ్రహము* ఆయుధములచేత,కుజగ్రహమునకు భూగ్రహము తోడైయుంటే బాంబుల "],
"H9": ["పుణ్య స్థానము :నవమ స్థానము - పితృ స్థానము: ధనబలము"],
"H10":["పాపపుణ్య మిశ్రమ స్థానము :దశమ స్థానము - జీవన స్థానము: గౌరవము పదవ స్థానములోనూ, జీవనోపాదులైన ఉన్నత వృత్తిగానీ, పెద్ద ఉదోగ్యముగానీ, మంచి వ్యాపారము గానీ కల్గునట్లు శుభగ్రహము చేయును,ప్రజాధరణ,ఈ స్థానములో సూర్యుడుగానీ, చంద్రుడు గానీ శుభులైయుండిన ఉన్నతమైన ప్రభుత్వ ఉద్యోగియై,రాజకీయములో ఉండి నట్లయితే మంత్రిపదవి కల్గి , కుజగ్రహము శుభగ్రహమైయుంటే అతడు ప్రభుత్వ డాక్టరుగా,కుజ గ్రహముతో పాటు సూర్యుడో, చంద్రుడో పదవ స్థానమున ఉండుట వలన జాతకుడు మిలిటరీలో పెద్ద డాక్టరుగా ఉండును, పాప గ్రహముండిన పైన చెప్పిన వాటికి భిన్నముగా"],
"H11":["పాపము స్థానము : ఏకాదశ స్థానము - లాభ స్థానము*. పాపగ్రహముండిన ధనార్జనలో కష్టము, లాభములో నష్టము, జయములో అపజయము కల్గును. విద్య లేకుండా పోవును. తండ్రి ఆస్తిని పోగొట్టుకోవలసి వచ్చును. జీవితము దుఃఖమయ మగును. సప్త వ్యసనములలో కొన్నిటికి అలవాటుపడిపోవును,బుధగ్రహముంటే కట్నకానుకల రూపములో మంచి లాభమును, తొమ్మిదవ స్థానాధిపతియుండిన, వానికి లాటరీవలన లాభము వచ్చును. లగ్నాధిపతి యుండిన ఎల్లప్పుడు లంచము రూపములోనో లేక కమీషన్ రూపములోనో డబ్బు వచ్చునట్లు చేయును,పంచమాధిపతియుండిన మెడికల్ కాలేజ్ లాంటిది కల్గించి దానిద్వారా డొనేషన్ల రూపములో డబ్బు విపరీతముగా వచ్చునట్లు చేయును. ఈ స్థానములో ఇద్దరు లేక ముగ్గురు శుభ గ్రహములు ఉండిన ఉన్నట్లుండి కోట్లలో డబ్బు వచ్చు లాటరీలు తగులును. వ్యాపారములో విపరీతముగా లాభములు వచ్చును,అన్న, అక్కగారి ఆస్తులు లభించును,పాపకార్యములు చేయుట చేత జాతకుడు ధనమార్జించును, ఆదాయములు గల వృత్తి,ముందే ఇది పాపస్థానమైయుండి, దీనిలో చేయునదంతా ఇతరులది లాగుకొని లాభము పొందడము తప్ప ఏమీలేదు ,మేము మాత్రము దీనిని నీచ వృత్తి స్థానమేగానీ ఇందులో ప్రవృత్తి లేదని చెప్పుచున్నాము."],
"H12":["పాపపుణ్య మిశ్రమ స్థానము :వ్యయ స్థానము : శరీరము నాశనమైపోవునది కావున దానిని వ్యయ (నాశన) స్థానమన్నారు", "వృద్ధాప్యములో జరుగు విషయములు ,ఒక పుణ్య గ్రహమైన శుభగ్రహముంటే ఇక్కడ ఏదైనా దుర్వినియోగముకాదు. డబ్బుగానీ, ధాన్యము గానీ, నీరుగానీ ఖర్చు చేయు ఏదైనా దుర్వినియోగము కాదు. చెడు ఉపయోగములకు కాకుండా మంచిగా ఉపయోగపడును,కేతుగ్రహముంటే (శుభగ్రహముగా) ఆధ్యాత్మిక చింతనకలుగజేసి హిందువును భగవద్గీతను, ముస్లీమ్ను ఖుర్ఆన్ను, క్రైస్తవుడైతే బైబిల్ను చదువునట్లు చేయును, గురువు గ్రహమున్న జ్ఞాన విషయములని పేరుపెట్టిన దానిని చదువును. మిగతా నాలుగు గ్రహములలో ఏదొక్కటియున్నా సద్గ్రంథములను చదువునట్లు చేయును. సద్గ్రంథ పఠనముచే దైవభక్తి చేకూరి ముక్తి కొరకు ప్రయత్నించును, శుభ గ్రహము ఏదున్నా పాపభీతిని కల్గించి, నరకలోకమును తప్పించి స్వర్గ లోక ప్రాప్తి కల్గించునని తెలియుచున్నది,మనిషిలోని పశుత్వమును మాన్పించి మానవత్వమును గల్పించును,మరణ సమయములో ఎక్కువ కష్టములు లేకుండా నిశ్చింతగా ఉండునట్లు చేయును,పాప గ్రహమున్న (శత్రువర్గములోని గ్రహమున్న) జాతకుడు ఎంత గొప్పవాడైనా, ఎంత ధనికుడైనా చనిపోవు సమయమునకు బంధుమిత్రులు, భార్యా పిల్లలు లేనిచోట చావు లభించును. అతను ఫలానా వ్యక్తి అని కూడా బయటికి తెలియకపోవడము వలన అనాధశవము క్రింద జమకట్టి ఏ సంబంధమూ లేనివారు ఏమీ బాధపడకుండా అంతిమ సంస్కారములు చేయుదురు "]
}
# Define houses with planets
houses = {
"H1": ["BHU-"],
#"H2": ["RAH+", "CHI+", "MIT+", "GUR-", "SAN+", "KET-", "SUK+"],
"H2": ["CHA+"],
# "H3": ["KUJ-", "BHO-", "SUY+"],
"H3": ["GUR+","SAN-"],
"H4": ["KUJ+"],
"H5": ["RAH-", "CHI-", "GUR+","MIT-", "KET+", "SUK-"], #by placing any value we can test.
"H6": ["SAY+", "SAN-", "BHO+"],
"H7": ["BHU-", "GUR+","KUJ+"],
"H8": ["KUJ-", "RAH-", "CHI-", "MIT-", "GUR+", "SAN-", "KET-", "SUK-"],
"H9": [],
"H10": ["KUJ+"],
"H11": ["RAH-", "CHI-", "GUR+","MIT-", "KET+", "SUK-","KUJ+"],
"H12": ["SAY+", "SAN-", "BHO+"],
}
def check_cases():
# Case "Way Problems": If H4 contains 'KUJ-'
if "KUJ-" in houses["H4"]:
print("Case 10:'దారి సమస్యలు': Yes, mainly south face, issues related to this cause.")
else:
print("Case 10:దారి సమస్యలు లేవు")
# Case "Earning Money But Not Satisfy": If GUR and SUK are in the same house
gur_and_suk_same_house = any(
"GUR" in houses[house] and "SUK" in houses[house]
for house in houses
)
if gur_and_suk_same_house:
print("Case 9:'సంపాదన ఉన్న డబ్బు సమస్య?': Since GUR and SUK are in the same house.")
else:
print("Case 9:'సంపాదన ఉన్న డబ్బు సమస్య?': GUR and SUK are not in the same house.")
# Case "More Properties": Check house with '+' suffix
more_properties_in_H4 = any(planet.endswith("+") for planet in houses["H4"])
if more_properties_in_H4:
print("Case 8:'More Properties?': సొంత ఆస్తులు ఉంటాయి H4 has +.")
else:
print("Case 8:'More Properties?':సొంత ఆస్తులలేవు No planets with '+' found in H4.")
# Case "Can Learn Music": Check if any house contains 'SUK+'
can_learn_music = any(
"SUK+" in houses[house] for house in houses
)
if can_learn_music:
print("Case 7:'Can Learn Music కళలు': You can learn music with the help of SUK+.")
else:
print("Case 7: 'Can Learn Music/ కళలు': No support of SUKRA.")
# Example usage
check_cases()
def check_h456_and_bhu():
case_met = False # Variable to track if any case is met
# Case 1: H6 has 'BHU+'
if "BHU+" in houses["H6"]: # Using .get() to avoid KeyError if "H6" doesn't exist
print("Case 6:Bhudhudu: Bhuda helps to avoid Ghost problems.")
case_met = True
# Case 2: H6 has 'BHU-'
if "BHU-" in houses["H6"]:
print("Case 6:Bhudhudu:Suffers from Ghost problems due to Bhuda.")
case_met = True
# Case 3: H4 has 'BHU+'
if "BHU+" in houses["H4"]:
print("Case 6:Bhudhudu:బుధుడు వలన వ్యాపారం బాగుంటుంది.")
case_met = True
# Case 4: H4 has 'BHU-'
if "BHU-" in houses["H4"]:
print("Case 6:Bhudhudu:Business is not good due to Bhuda.")
case_met = True
# Case 5: H5 has 'BHU+'
if "BHU+" in houses["H5"]:
print("Case 6:Bhudhudu:Learning Jyothisastram due to Bhuda.")
case_met = True
# Case 6: H5 has 'BHU-'
if "BHU-" in houses["H5"]:
print("Case 6 బుధుడు :not Learning Jyothisastram due to Bhuda.")
case_met = True
# If no case is met, print the default message
if not case_met:
print("Case 6 for Bhuda: is not applicable.")
check_h456_and_bhu()
def check_h5_h3_h7_h11_and_cha():
case_met = False # Variable to track if any case is met
# Case 1: H5 contains 'CHA+'
if "CHA+" in houses["H5"]:
print("WISDOM PERSON: H5 contains 'CHA+'.")
case_met = True
# Case 2: H3, H7, or H11 contains 'CHA'
cha_in_H3_H7_H11 = any("CHA" in houses[house] for house in ["H3", "H7", "H11"])
if cha_in_H3_H7_H11:
print("NOT WISDOM, POOR: 'CHA' found in H3, H7, or H11.")
case_met = True
# Case 3: If 'CHA' is found in H3, H7, or H11 and there is any planet with the suffix '-'
cha_with_suffix_minus = any(
planet.endswith("-") for house in ["H3", "H7", "H11"] for planet in houses[house]
)
if cha_with_suffix_minus:
print("VERY POOR: 'CHA' found in H3, H7, or H11 and another planet with '-' suffix.")
case_met = True
# If no case is met, print the default message
if not case_met:
print("case 5 తెలివితక్కువ: is not applicableve.")
# Example usage
check_h5_h3_h7_h11_and_cha()
# partern differences
# learn jyothisyam
# CASE 5 సంగీతం నేర్చుకోగలన
# CASE DISEASE.
def check_h6_and_planets():
# Condition: H6 contains any planet with the suffix '-'
planet_with_suffix_in_H6 = [planet for planet in houses["H6"] if planet.endswith("-")]
if planet_with_suffix_in_H6:
print("CASE 4: వచ్చేజబ్బులు: H6 contains a planet with the suffix '-'.")
# For each planet in H6 that has the suffix '-', check its attributes
for planet in planet_with_suffix_in_H6:
# Remove the suffix '-' to get the base planet name
base_planet = planet.rstrip("-")
# Check if the base planet is in the attributes dictionary
if base_planet in planets_attributes:
# Print only the attributes starting from the 4th item (index 3)
attributes_to_print = planets_attributes[base_planet][3:]
print(f"Attributes for {base_planet} (from 4th onwards): {', '.join(attributes_to_print)}")
else:
print(f"No attributes found for planet {base_planet}")
else:
print("CASE 4: No planet with '-' suffix in H6.")
# Example usage
check_h6_and_planets()
# accicent death
def check_h8_and_planets():
# Condition: H8 contains 'KUJ-' and SAN is with another planet with suffix '-'
h8_contains_KUJ_minus = any(planet == "KUJ-" for planet in houses["H8"])
san_with_suffix_minus = any(
planet.endswith("-") for house in houses.values() for planet in house if planet != "SAN"
)
# Check if both conditions are met
if h8_contains_KUJ_minus and san_with_suffix_minus:
print("case 1: ఆక్సిడెంట్ మరణం ఉంది ,రక్తం కారి : H8 contains KUJ- and SAN is with another planet with a suffix '-'.")
else:
print("case 1: రక్తం కారి,ఆక్సిడెంట్ మరణం లేదు : The condition is not met.")
# Example usage
check_h8_and_planets()
def check_h8_and_planets1():
# Condition: H8 contains one of 'KUJ-', 'RAH-', 'CHA-', 'SUK-', 'BHU-', 'BOM-'
h8_contains_specific_planet_minus = any(
planet in ["KUJ-", "RAH-", "CHA-", "SUK-", "BHU-", "BOM-"] for planet in houses["H8"]
)
# Condition: SAN is with another planet that has a suffix '-'
san_with_suffix_minus = any(
planet.endswith("-") and planet != "SAN" # Combined condition
for house in houses.values()
for planet in house
)
# Check if both conditions are met
if h8_contains_specific_planet_minus and san_with_suffix_minus:
print("case 1: ఆక్సిడెంట్ మరణం ఉంది: H8 contains 'KUJ-', 'RAH-', 'CHA-', 'SUK-', 'BHU-', 'BOM-' and SAN is with another planet with a suffix '-'.")
else:
print("case 1: ఆక్సిడెంట్ మరణం లేదు: The condition is not met.")
# Example usage
# APPEND LATER CASE 2, USE DIFFERENT PROGRAM.
#Example usage
def check_cha_and_planets():
# Condition 1: 'CHA' is NOT in house H3, H7, or H9
cha_in_H3_H7_H11 = all("CHA" in houses.get(house, []) for house in ["H3", "H7", "H11"])
cha_in_H1_H5_H9 = all("CHA" in houses.get(house, []) for house in ["H1", "H5", "H9"])
cha_in_H3_H7_H11 = all("CHA" in houses.get(house, []) for house in ["H3", "H7", "H11"])
# Condition 2: Find the house where 'CHA' exists and check if the opposite sign is present in that house
cha_house = None
cha_opposite_sign_present = False
for house, planets in houses.items():
# Look for CHA in the planets list
cha_planet = next((planet for planet in planets if planet.startswith("CHA")), None)
if cha_planet:
cha_house = house # Store the house number where 'CHA' is found
cha_sign = cha_planet[-1] # Extract the sign of CHA ('+' or '-')
# Determine the opposite sign
opposite_sign = '+' if cha_sign == '-' else '-'
# Check if any planet in the same house has the opposite sign
cha_opposite_sign_present = any(planet.endswith(opposite_sign) for planet in planets)
break
# Condition 3: Check if H5 has any planet with a '-' suffix (at least one '-')
# Condition 3: Check if H5 has any planet with a '-' suffix (at least one '-')
h5_has_opposite_sign = any(planet.endswith("-") for planet in houses.get("H5", []))
if not cha_in_H3_H7_H11 and not cha_opposite_sign_present and not h5_has_opposite_sign:
print(f"CHA is NOT in H3, H7, or H9, and CHA is found in {cha_house} with its opposite sign in the same house, and H5 has no planets with the opposite sign.")
print(f"Details: CHA is found in {cha_house} with sign {cha_sign}. Opposite sign present in the same house: {cha_opposite_sign_present}")
print(f"H5 planets (no opposite sign of CHA): {houses['H5']}")
else:
print("case 2:ససంతానము possible chance , check sure condition ")
"""
# Final validation based on all conditions
if cha_in_H1_H5_H9 and not cha_opposite_sign_present and not h5_has_opposite_sign:
print(f"CHA is NOT in H1, H5, or H9, and CHA is found in {cha_house} with its opposite sign in the same house, and H5 has no planets with the opposite sign.")
print(f"Details: CHA is found in {cha_house} with sign {cha_sign}. Opposite sign is not present in the same house: {cha_opposite_sign_present}")
print(f"H5 planets (no opposite sign of CHA) see list: {houses['H5']}")
else:
print("సంతానము తప్పకుండా ఉండే కేసు Missed , see your luck")
print("*******************************************************")
print("సంతానము తప్పకుండా ఉండే కేసు CONDITION 1 + 2 + 3")
print("Condition 1:")
if cha_in_H3_H7_H11:
print(f"Condition 1: CHA not found in H3, H7, or H10: {[house for house in ['H3', 'H7', 'H10'] if 'CHA' in houses.get(house, [])]}")
print("AND Condition 2:")
if cha_opposite_sign_present:
print(f"Condition 2: CHA is found in {cha_house}, but there are no planets with the opposite sign.")
print("AND Condition 3:")
if h5_has_opposite_sign:
print(f"Condition 3: H5 contains planets with a '-' sign: {houses['H5']}")
"""
# Call the function
check_cha_and_planets()
# def check_second_marriage():
def check_second_marriage():
# Check if H7 contains KET or RAH
h7_planets = houses["H7"]
ket_or_rah_in_H7 = [planet for planet in h7_planets if planet.startswith("KET") or planet.startswith("RAH")]
if len(ket_or_rah_in_H7) > 0: # Check if either KET or RAH or both are present.
if len(ket_or_rah_in_H7) > 1:
# If both KET and RAH are present
print("రొండొ పెళ్ళి లేదా అక్రమ సంబందం")
else: # len(ket_or_rah_in_H7) == 1
# Check if there are other positive planets in H7
other_positive_planets = [planet for planet in h7_planets if planet.endswith("+") and planet not in ket_or_rah_in_H7]
if len(other_positive_planets) == 0:
# If no other positive planets are found
print("Partner died and no second relation.")
else:
# If there are other positive planets
print("Partner died and having a relation.")
else:
print("case 3:Second marriage : ఇది వర్తించదు")
# Example usage
check_second_marriage()
#
print("$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$")
# next checking all positions and favariable and favora
def check_houses_planets():
for house_key, house_planets in houses.items():
# Count planets with + and - suffixes
positive_planets = [planet for planet in house_planets if planet.endswith("+")]
negative_planets = [planet for planet in house_planets if planet.endswith("-")]
# Print house attributes
house_attributes = houses_attributes.get(house_key, [])
print(f"{house_key} attributes: {', '.join(house_attributes)}")
# Print planets supporting with + suffix
print(f"{house_key} మిత్రులు (count: {len(positive_planets)}): {', '.join(positive_planets) if positive_planets else 'None'}")
# Print planets not supporting with - suffix
print(f"{house_key} శత్రువులు (count: {len(negative_planets)}): {', '.join(negative_planets) if negative_planets else 'None'}")
print() # Add a blank line for better readability
# Example usage
check_houses_planets()
# next condition