السلااام عليكم ، لوسمحتوو اريد مساعدة ف البايثون ضروري جدا وفأسرع وقت بلييز
هذي البرمجة مالي تشتغل بشكل صحيح ولكن هناك مشكلة ان جملة if ما تشتغل بشكل صحيح يعني لما اضغط رقم 2 أو 3 أو 4 يطلعلي الكلام مال 1 !!! اتمنى فهمتو شرحي ولكن اللحين بدرج البرمجة جربوها بنفسكم وعلموني الخطأ بليز
print("select one medication from the list below to display info.")print("1. Oxytocin")print("2. Methyl Ergometrine")print("3. Ferrous Sulphate")print("4. Fefol")
option1 ="1.Oxytocin"
option2 ="2.Methyl Ergometrine"
option3 ="3.Ferrous Sulphate"
option4 ="4.Fefol"print(int(input("Your option is?")))if option1:print('The action:Oxytocin binds to oxytocin receptors in the uterine myometrium, which triggers the G-protein coupled receptor signal transduction cascade that causes increased intracellular calcium concentrations. Increased calcium concentration levels activate myosin light chain kinase which, in turn, induces the formation of the contractile protein actomyosin. This stimulates uterine smooth muscle contractions during childbirth and lactation. Also increases production of prostaglandins, which increase the contractions further')print('The classification:Synthetic form of the naturally occurring posterior pituitary hormone oxytocin.')print('Side effect:1- Uterine hyper stimulation/ Uterine Hypertonicity.2- Uterine spasm. 3- Nausea and vomiting.4- Water intoxication when infused with large volume electrolyte-free fluid. 5- Amniotic fluid embolism.6- Placenta abruption. 7- Tetanic contraction.8- Fetal bradycardia.')print('Therapeutic effect:Used to initiate uterine contraction in a term pregnancy over 39 weeks.-Induction and augmentation of labor, postpartum hemorrhage, missed or incomplete abortion')elif option2:print('The action:-It works by increasing the rate and strength of contractions and the stiffness of the uterus muscles. These effects help to decrease bleeding.-Ergot alkaloid that induces rapid, sustained tetanic uterine contraction that shortens third stage of labor and reduces blood loss')print('The classification:-Ergot alkaloids AUTONOMICNERVOUS SYSTEM AGENT; ADRENERGIC ANTAGONIST (SYMPATHOL YTIC); ERGOT ALKALOID; OXYTOCIC')print('Side effect:1- Headache, nausea, vomiting, or dizziness.serious side effects: 2- Fast/slow heartbeat.3- Shortness of breath.4- Serious allergic reaction5- Nausea, vomiting. 6- Severe hypertensive episodes.7- Bradycardia.')print('Therapeutic effect:Used to prevent or treat bleeding from the uterus that can happen after childbirth or an abortion.- Routine management after delivery of placenta and for postpartum atony, uterine hemorrhage after childbirth')elif option3:print('The action:- Iron combines with porphyrin and globin chains to form hemoglobin, which is critical for oxygen delivery from the lungs to other tissues.- Iron becomes a part of your hemoglobin (HEEM o glo bin) and myoglobin (MY o glo bin). Hemoglobin carries oxygen through your blood to tissues and organs. Myoglobin helps your muscle cells store oxygen')print('The classification:Iron supplement/ Ani- anemic -Pregnancy Category: A')print('Side effect:1- Turn stools to the black.2- Contraption. 3- Gastro-intestinal irritation.4- Nausea.5- Epigastric pain.')print('Therapeutic effect:To correct iron deficiency and to treat irondeficiency prophylaxis (microcytic,hypochromic) anemias during pregnancy. And to increase iron needs')elif option4:print('The action:Iron is an essential trace element that is required for the formation of hemoglobin and myoglobin important components of the blood.')print('The classification:Anti-anemic/ Vitamin/iron supplements')print('Side effect:1- Abdominal pain/ Gastrointestinal irritation. 2- Nausea and epigastric pain. 3-Constipation or diarrhea 4-Black discoloration of faces')print('Therapeutic effect:Used to prevent and treat iron deficiency anemia and to prevent folate deficiency during pregnancy')
السؤال
xr_omb
السلااام عليكم ، لوسمحتوو اريد مساعدة ف البايثون ضروري جدا وفأسرع وقت بلييز
هذي البرمجة مالي تشتغل بشكل صحيح ولكن هناك مشكلة ان جملة if ما تشتغل بشكل صحيح يعني لما اضغط رقم 2 أو 3 أو 4 يطلعلي الكلام مال 1 !!! اتمنى فهمتو شرحي ولكن اللحين بدرج البرمجة جربوها بنفسكم وعلموني الخطأ بليز
9 أجوبة على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.