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

لوحة المتصدرين

  1. xr_omb

    xr_omb

    الأعضاء


    • نقاط

      2

    • المساهمات

      34


  2. Neeraj Sati

    Neeraj Sati

    الأعضاء


    • نقاط

      1

    • المساهمات

      3


  3. Wael Aljamal

    Wael Aljamal

    الأعضاء


    • نقاط

      1

    • المساهمات

      6975


  4. Mari Carmen

    Mari Carmen

    الأعضاء


    • نقاط

      1

    • المساهمات

      33


المحتوى الأكثر حصولًا على سمعة جيدة

المحتوى الأعلى تقييمًا في 05/01/21 in أجوبة

  1. السلام عليكم للجميع ممكن تشوفو برمجتي ؟ بليز اريد مساعدتكم ضروري.... في هذي البرمجة يوجد 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**")
    1 نقطة
  2. لدي مشكلة أثناء قيامي بتهجير البيانات في لارافل وبعد إجراء الأمر: php artisan make:migration change_title_max_characters --table=books وأمر التهجير يظهر لدي الخطأ التالي: C:\laragon\www\libraryPro λ php artisan migrate Migrating: 2020_12_25_004022_change_title_max_characters Error Class 'Doctrine\DBAL\Driver\PDOMySql\Driver' not found
    1 نقطة
  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**")
    1 نقطة
  4. صحيح، أنا ذكرت مثال لكيفية ترتيب الشيفرة وانت يمكنك تعديلها كما ترينه مناسبا. أنا اختصرت البرنامج ووضعت قيمة ثابتة هي 4. في برنامجك تطلبين من المستخدم إدخال X و من ثم تضيفينها للقائمة وهو صحيح: if mySelection == 1: print('list1: 1 , 3 , 2') x = input('\nadd to list:') list1.append(x) print(list1)
    1 نقطة
  5. Thanks all for your reply i also searched this on Internet and found many of the points that are: 1: Remove unnecessary plugins and extensions 2: Employ browser caching 3: Image Optimization 4: Use the best Content Management System 5: Make use of Content Delivery Networks 6: Delete/replace all broken links 7: Choose a Good Web Host and also found this post on the internet and found this is very help full for me, i remove all the unnecessary plugins and optimize the site images this help me a lot to to boots up the load time
    1 نقطة
×
×
  • أضف...