اذهب إلى المحتوى

xr_omb

الأعضاء
  • المساهمات

    34
  • تاريخ الانضمام

  • تاريخ آخر زيارة

آخر الزوار

لوحة آخر الزوار معطلة ولن تظهر للأعضاء

إنجازات xr_omb

عضو مساهم

عضو مساهم (2/3)

8

السمعة بالموقع

  1. المسافات صحيحة استاذ لكن لازلت البرمجة لا تعمل
  2. للأسف سويت كذا سابقا لكن يظهرلي خطأ برمجي
  3. هنا انا سويتة كامل ولكن تبقت لي خطوة واحدة ما عرفت اسويها : اريد ان البرنامج يتوقف من بعد ما ادخل رقم 4 يعني لما ادخل رقم 4 ويطلعلي جود باي خلاص ما يظهر شي بعدة يتوقف التكرار while True: print('list1: 1 , 3 , 2') print('List of method are here please choose one') print('1. Add to the list') print('2. Sort the list') print('3. Reverse the list') print('4. 999 to exit') selection1 ='1. Add to the list' selection2 ='2. Sort the list' selection3 ='3. Reverse the list' selection4 ='4. 999 to exit' list1=["1" , "3" , "2"] mySelection = int(input("Your selection is:")) if mySelection >= 5: break if mySelection == 1: print('list1: 1 , 3 , 2') x = input('\nadd to list:') list1.append(x) print(list1) elif mySelection == 2: print('list1: 1 , 3 , 2') list1.sort() #sort the list print('new list' , list1) elif mySelection == 3: print('list1: 1 , 3 , 2') list1.reverse() #reverse the list print(list1) elif mySelection == 4: print("**Good Buy**")
  4. شكرا لك أستاذي ولكن append ما نحن نضيفها المستخدم هو اللي يضيفها
  5. السلام عليكم للجميع ممكن تشوفو برمجتي ؟ بليز اريد مساعدتكم ضروري.... في هذي البرمجة يوجد 4 ليست في كل ليست هناك مطلوب واحد عندما يدخل المستخدم رقم 1 بتظهر لة القائمة تبع الليست 1 وبعدين بيطلب من المستخدم انه يدخل قيمة او شي بعد كذا يضيفها لليست واحد ويطبعها لكن المشكلة كيف أخلية يضيف هذي القيمة لليست ويطبعها مع الليست هذه هي البرمجة مالتي اتمنى تشوفوها وتقدرو تساعدوني بليز print('list1: 1 , 3 , 2') print('List of method are here please choose one') print('1. Add to the list') print('2. Sort the list') print('3. Reverse the list') print('4. 999 to exit') selection1 ='1. Add to the list' selection2 ='2. Sort the list' selection3 ='3. Reverse the list' selection4 ='4. 999 to exit' list1=["1 , 3 , 2"] mySelection = int(input("Your selection is:")) if mySelection == 1: print('list1: 1 , 3 , 2') x = input('\nadd to list:') list1.append(x) elif mySelection == 2: print('list1: 1 , 3 , 2') list1.sort() #sort the list elif mySelection == 3: print('list1: 1 , 3 , 2') list1.reverse() #reverse the list elif mySelection == 4: print("**Good Buy**")
  6. ما فهمت استاذي وين بيكون موقعها ؟
  7. وربييي انك اسطووورة يا أستااذ واائل صاار معي الحمد الله 😍😍💗💗💗 لكن تبقت لي مشكلة واحدة بس واللي هي انه لازم كل مرة اسوي run عشان اجررب الرقم وأنا اريدة يكون مستمر يعني بعد م ادخل الرقم 1 مثلا اريد يتكرر الحدث عشان ادخل رقم 2 فهمت صح؟
  8. شكرا جزيلا أستاذ وائل ، أعتذر لم أفهم قصدك جيدا هل يمكنك التعديل في برمجتي لُطفا؟
  9. السلااام عليكم ، لوسمحتوو اريد مساعدة ف البايثون ضروري جدا وفأسرع وقت بلييز هذي البرمجة مالي تشتغل بشكل صحيح ولكن هناك مشكلة ان جملة 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')
  10. وربييي انت أسطووورة 😭😭😭💗💗💗💗💗 شكرا شكرا جزييلا أستاذ واائل على مساعدتي🥺🤝 الحمد الله ضبطت البرمجة مثل م انا ابي💗💗
  11. نعم تظهر _عند النقر لأكثر من 5 مرات _ولكن المشكلة انه "end game" تظهر لدقائق قليلة ثم تختفي ثم تستمر الخلفية بتغيير لونها _ ماأريده أنا هو أن تتوقف هذه الخلفية عن تغييير لونها عند النقر لأكثر من 5 مرات _ سأقوم بعد قليل بإرفاق فيديو لترى كيفية عمل البرمجة الحالية . أتمنى يكون واضح ! Recording #27.mp4
  12. شكرا لك أستاذ وائل على مساعدتك وأنا آسفة على الازعاج ولكن أريد شيئا آخر وهو أن تتوقف اللعبة بعد الضغط على الخلفية أكثر من 5 مرات بحيظ تظهر شاشة سوداء مكتوب عليها "end game " وبذلك أكون قد انتهيت منها
×
×
  • أضف...