السلام عليكم اخي الكريم انا في امس الحاجه ان تساعدني عندي بيانات محفوظة على قوقل ماب اريد انقلها على power bi بالخرائط بحيث لما اختار اسم الشارع يظهر لي مكانه ااذ امكن ترسل لي ايميلك
مرحبا بالجميع، كتبت الكود بحسب الطلبات ولكن توقفت عند مشكلة ماذا لو كتب العميل رمز العملة بالحروف الصغيرة او بدل بين الحروف بين صغير وكبير ولم اصل لحل، وبالعموم هذا الكود الذي قمت بكتابته قبل الانتقال لمشاهدة الحل في الحلقة القادمة : CarrncyF = str(input("Exchange FROM (USD, EUR, SAR): ")) How = int(input("How much? ")) CarrncyT = str(input("Exchange to (USD, EUR, SAR): ")) if CarrncyF == "USD" and CarrncyT == "EUR" : result = How * 0.99 print("===============================") print("Welcome to $$ EXCHANGE STORE $$") print("===============================") print(f"You will give {How} {CarrncyF}, and you will take {result} {CarrncyT}") elif CarrncyF == "USD" and CarrncyT == "SAR" : result = How * 3.75 print("===============================") print("Welcome to $$ EXCHANGE STORE $$") print("===============================") print(f"You will give {How} {CarrncyF}, and you will take {result} {CarrncyT}") elif CarrncyF == "EUR" and CarrncyT == "USD" : result = How / 0.99 print("===============================") print("Welcome to $$ EXCHANGE STORE $$") print("===============================") print(f"You will give {How} {CarrncyF}, and you will take {result} {CarrncyT}") elif CarrncyF == "EUR" and CarrncyT == "SAR" : result = (How / 0.99) * 3.75 print("===============================") print("Welcome to $$ EXCHANGE STORE $$") print("===============================") print(f"You will give {How} {CarrncyF}, and you will take {result} {CarrncyT}") elif CarrncyF == "SAR" and CarrncyT == "USD" : result = How / 3.75 print("===============================") print("Welcome to $$ EXCHANGE STORE $$") print("===============================") print(f"You will give {How} {CarrncyF}, and you will take {result} {CarrncyT}") elif CarrncyF == "SAR" and CarrncyT == "EUR" : result = (How / 3.75) * 0.99 print("===============================") print("Welcome to $$ EXCHANGE STORE $$") print("===============================") print(f"You will give {How} {CarrncyF}, and you will take {result} {CarrncyT}") elif CarrncyF == CarrncyT: print("===============================") print("Welcome to $$ EXCHANGE STORE $$") print("===============================") print(f"Your {How} {CarrncyF} will be same") else: print("Wrong Carruncy, or Wrong spilling")
حل التمرين print("================================= ") print("Welcome to Money Exchange : مرحبا بكم في محول العملات ") print("================================= ") mainCurrency = input("Please Input Your Current Currency ") amount = int(input("please enter the money amount")) convertedCurrency = input("Please Input Your converted Currency ") if mainCurrency == "USD" and convertedCurrency == "EUR": print(f"You should Pay {amount} in {mainCurrency} and you will take {amount*0.99} in {convertedCurrency} ") elif mainCurrency == "USD" and convertedCurrency == "SAR": print(f"You should Pay {amount} in {mainCurrency} and you will take {amount*3.75} in {convertedCurrency} ") elif mainCurrency == "EUR" and convertedCurrency == "USD": print(f"You should Pay {amount} in {mainCurrency} and you will take {amount/0.99} in {convertedCurrency} ") elif mainCurrency == "EUR" and convertedCurrency == "SAR": print(f"You should Pay {amount} in {mainCurrency} and you will take {amount/0.99*3.75} in {convertedCurrency} ") elif mainCurrency == "SAR" and convertedCurrency == "USD": print(f"You should Pay {amount} in {mainCurrency} and you will take {amount / 3.75} in {convertedCurrency} ") elif mainCurrency == "SAR" and convertedCurrency == "EUR": print(f"You should Pay {amount} in {mainCurrency} and you will take {amount/0.99/3.75} in {convertedCurrency} ") else: print(f"you choice a error may in main currency or in the converted currency ")
مع اضافة بسيطة USD = 3.75 EUR = 0.99 r = 1 print("="*20) print("Welcome To $$ EXCHANGE STORE $$") print("="*20) while r != "quit": froM = input("Exchange From (USD , EUR , SAR) : ").upper() valfroM = float(input("How match : ")) tO = input("Exchange To (USD , EUR , SAR) : ").upper() if froM == tO: print(f"The amount will remain the same ({valfroM}") elif froM == "USD" and tO == "EUR": print(f"You will give {valfroM} {froM} and you will take {valfroM * EUR} {tO}") elif froM == "USD" and tO == "SAR": print(f"You will give {valfroM} {froM} and you will take {valfroM * USD} {tO}") elif froM == "EUR" and tO == "USD": print(f"You will give {valfroM} {froM} and you will take {valfroM / EUR} {tO}") elif froM == "EUR" and tO == "SAR": print(f"You will give {valfroM} {froM} and you will take {valfroM / EUR * USD} {tO}") elif froM == "SAR" and tO == "USD": print(f"You will give {valfroM} {froM} and you will take {valfroM / USD} {tO}") elif froM == "SAR" and tO == "EUR": print(f"You will give {valfroM} {froM} and you will take {valfroM / USD * EUR} {tO}") elif froM == "QUIT": r = "quit" else: print("Wrong Currency")
اطلعت على كثير من شروح البايثون هذا أفضل شرح وانا متابع له أول بأول إلى أن ينتهي من الشرح بإذن الله
أحسن استاد في العالم بارك الله فيك وجزاك خيرا
ستظل شروحات الأستاذ المنذر سفان الأفضل علي الإطلاق -بارك الله فيكم استاذ المنذر سفان ومتعكم الله بالصحة والعافية
ماشاء الله عليك بارك الله فيك وأسأل الله العظيم أن يكون في ميزان حسناتك (علماً ينتفع به) من متابع مخلص
الكورس الأول على مستوى الوطن العربي كلو.. الله يجزاك الخير ترفع لك القبعة وربي 🌹🌹🌹❤️❤️❤️❤️
جزاك الله خير .......... انت موهوب فى الشرح .......... بارك الله فيك ورزقك من حيث لا تحتسب
جزاك الله خيراً يا المنذر افضل شرح اطلعت عليه حقيقي مبسط وكما لو كان مفصل بالمقاس للمتلقي حقيقةً والله
ماشاء الله عليك استاذ شرحك سلس
سؤال كيف بتسجل الدروس بهذي السلاسة؟🤍🤍
انت رجل رائع جمعت بين الأساسيات وعمل برامج...
الله يبارك لك ويفتح لك ابواب رزقة
جزاك الله خيرا استاذي ❤️
باراك الله فيك استاذ واصل
جزاك الله كل خير وجعلة فى ميزان حسناتك
معلومات قيمة.. شكرا جزيلا..❤
نورت استاذ منذر ، احسنت يا مبدع لك كل التقدير والاحترام
الله يعطيك العافية أستاذ، هاد الكود المطلوب وأضفت عليه إمكانية إدخال سعر الصرف الخاص
usdtoeur = float(0.99)
usdtosar = float(3.75)
print(f"==============================")
print(f"Welcome to EXCHANGE STORE")
print(f"==============================")
customexchange = str(input("Would you like to enter the exchange rate or rely on the global exchange rate? (Yes or No) " )).title()
if customexchange == "Yes":
usdtoeur = float(input("USD to EUR = "))
usdtosar = float(input("USD to SAR = "))
else:
usdtoeur = float(0.99)
usdtosar = float(3.75)
oldcurrencytype = input("Exchange from (USD, EUR, SAR): ").upper()
oldcurrency = float(input("How Much? "))
newcurrencytype = input("Exchange to (USD, EUR, SAR): ").upper()
if (oldcurrencytype == "USD" or oldcurrencytype == "EUR" or oldcurrencytype == "SAR") and (newcurrencytype == "USD" or newcurrencytype == "EUR" or newcurrencytype == "SAR"):
if oldcurrencytype == "USD" and newcurrencytype == "USD":
newcurrency = round(float(oldcurrency),2)
elif oldcurrencytype == "USD" and newcurrencytype == "EUR":
newcurrency = round(float(oldcurrency * usdtoeur),2)
elif oldcurrencytype == "USD" and newcurrencytype == "SAR":
newcurrency = round(float(oldcurrency * usdtosar),2)
elif oldcurrencytype == "EUR" and newcurrencytype == "USD":
newcurrency = round(float(oldcurrency / usdtoeur),2)
elif oldcurrencytype == "EUR" and newcurrencytype == "EUR":
newcurrency = round(float(oldcurrency),2)
elif oldcurrencytype == "EUR" and newcurrencytype == "SAR":
newcurrency = round(float(oldcurrency / usdtoeur * usdtosar),2)
elif oldcurrencytype == "SAR" and newcurrencytype == "USD":
newcurrency = round(float(oldcurrency / usdtosar),2)
elif oldcurrencytype == "SAR" and newcurrencytype == "EUR":
newcurrency = round(float(oldcurrency / usdtosar * usdtoeur),2)
elif oldcurrencytype == "SAR" and newcurrencytype == "SAR":
newcurrency = round(float(oldcurrency),2)
print(f"You will give {oldcurrency} {oldcurrencytype}, and you will take {newcurrency} {newcurrencytype}")
else:
print(f"You entered wrong currency")
ماذا لو ادخل المستخدم نص بدلا من المبلغ المراد تحويله
انت رائع أ. منذر كل الاحترام لحضرتك🌹❤
درس ولا اروع استاذنا الفاضل المميز
جزاك الله عنا كل خير
جزاك الله خيرا استاذ منذر
جزاك الله خيراً يا ورد 🌹
بجد مبدع يالمنذر استمر
الله يحزيك كل خير يا طيب
شكرا عمجهودك الاكثر من رائع
جزاك الله خير الجزاء على مجهودك الطيب 🌹
جزاك الله خيرا . شرح سهل وبسيط
شكرا جزيلا
تم حل التمرين ❤
هل ستقوم بالتطرق إلى لغات الويب بعد لغة بايثون 🤔💯
جزاكم الله خيرا ♥️😘
موهبة استثنائية فى الشرح
التعابير الشرطية if else في لغة بايثون مع عشرات الامثلة
ruclips.net/video/UkLlifhdeyc/видео.html
شكرا جزيلا،، اذا ممكن درس عن رسم البيانات باستخدام بايثون ولكن البيانات موجودة بالاكسيل ورسمها فقط عن طريق البايثون ومن ثم اخراجها كصورة عالية الدقة
جزاك الله خير الجزاء اقل شي ممكن نعمله لحضرتك انه ننشر قناتك
بارك الله فيكم ولكن انا اتابع على تعلم الاكسل و الاكسس
السلام عليكم استاذ ليش ما تشتغل عندي الif
من ادوس if مباشرة يطلعلي خطأ شنو السبب وشلون اعالجه؟
مشاء الله على الشرح السلس ... هل يمكن كتابة عربية ما بين علامتي التنصيص
اي تقدر عادي
السلام عليكم اخي الكريم انا في امس الحاجه ان تساعدني
عندي بيانات محفوظة على قوقل ماب اريد انقلها على power bi بالخرائط بحيث لما اختار اسم الشارع يظهر لي مكانه
ااذ امكن ترسل لي ايميلك
استاذ منذر بدنا ننتسب و مافي حساب ياريت تساعدنا و يكون عندك وكيل بادلب
انا مضطرة كتير على الفيديوهات لان عندي كورس و ماعم افهم على المدرب
ارجو الرد
السلام عليكم استاذ منذر اذا بتتكرم عليي وتبعتلي روابط تعلم الاكسل من البداية وجمع البيانات
هو النتيجة دائما بكل الحلقات .. برينت فقط!؟
اشعر انني اتعامل مع vba
نعم حتى نوصل للمكتبات ونتعامل مع GUI فيصبح نظهر النتائج من خلال الرسوميات
👍
يسلمو بس منشان الله هدي شوي طاير يا رجل بالشرح هههه
تأخرت علينا اليوم 🤩
اعتقد الاكواد اللي كتبتها اختفت من التعليقات ممكن يعتبرها اليوتيوب سبام 😞 لو في طريقة نرسله غير التعليقات والفيس بوك
اين الحل
tomiCrazy
مرحبا بالجميع، كتبت الكود بحسب الطلبات ولكن توقفت عند مشكلة ماذا لو كتب العميل رمز العملة بالحروف الصغيرة او بدل بين الحروف بين صغير وكبير ولم اصل لحل، وبالعموم هذا الكود الذي قمت بكتابته قبل الانتقال لمشاهدة الحل في الحلقة القادمة :
CarrncyF = str(input("Exchange FROM (USD, EUR, SAR): "))
How = int(input("How much? "))
CarrncyT = str(input("Exchange to (USD, EUR, SAR): "))
if CarrncyF == "USD" and CarrncyT == "EUR" :
result = How * 0.99
print("===============================")
print("Welcome to $$ EXCHANGE STORE $$")
print("===============================")
print(f"You will give {How} {CarrncyF}, and you will take {result} {CarrncyT}")
elif CarrncyF == "USD" and CarrncyT == "SAR" :
result = How * 3.75
print("===============================")
print("Welcome to $$ EXCHANGE STORE $$")
print("===============================")
print(f"You will give {How} {CarrncyF}, and you will take {result} {CarrncyT}")
elif CarrncyF == "EUR" and CarrncyT == "USD" :
result = How / 0.99
print("===============================")
print("Welcome to $$ EXCHANGE STORE $$")
print("===============================")
print(f"You will give {How} {CarrncyF}, and you will take {result} {CarrncyT}")
elif CarrncyF == "EUR" and CarrncyT == "SAR" :
result = (How / 0.99) * 3.75
print("===============================")
print("Welcome to $$ EXCHANGE STORE $$")
print("===============================")
print(f"You will give {How} {CarrncyF}, and you will take {result} {CarrncyT}")
elif CarrncyF == "SAR" and CarrncyT == "USD" :
result = How / 3.75
print("===============================")
print("Welcome to $$ EXCHANGE STORE $$")
print("===============================")
print(f"You will give {How} {CarrncyF}, and you will take {result} {CarrncyT}")
elif CarrncyF == "SAR" and CarrncyT == "EUR" :
result = (How / 3.75) * 0.99
print("===============================")
print("Welcome to $$ EXCHANGE STORE $$")
print("===============================")
print(f"You will give {How} {CarrncyF}, and you will take {result} {CarrncyT}")
elif CarrncyF == CarrncyT:
print("===============================")
print("Welcome to $$ EXCHANGE STORE $$")
print("===============================")
print(f"Your {How} {CarrncyF} will be same")
else:
print("Wrong Carruncy, or Wrong spilling")
حل التمرين
print("=================================
")
print("Welcome to Money Exchange : مرحبا بكم في محول العملات
")
print("=================================
")
mainCurrency = input("Please Input Your Current Currency ")
amount = int(input("please enter the money amount"))
convertedCurrency = input("Please Input Your converted Currency ")
if mainCurrency == "USD" and convertedCurrency == "EUR":
print(f"You should Pay {amount} in {mainCurrency} and you will take {amount*0.99} in {convertedCurrency} ")
elif mainCurrency == "USD" and convertedCurrency == "SAR":
print(f"You should Pay {amount} in {mainCurrency} and you will take {amount*3.75} in {convertedCurrency} ")
elif mainCurrency == "EUR" and convertedCurrency == "USD":
print(f"You should Pay {amount} in {mainCurrency} and you will take {amount/0.99} in {convertedCurrency} ")
elif mainCurrency == "EUR" and convertedCurrency == "SAR":
print(f"You should Pay {amount} in {mainCurrency} and you will take {amount/0.99*3.75} in {convertedCurrency} ")
elif mainCurrency == "SAR" and convertedCurrency == "USD":
print(f"You should Pay {amount} in {mainCurrency} and you will take {amount / 3.75} in {convertedCurrency} ")
elif mainCurrency == "SAR" and convertedCurrency == "EUR":
print(f"You should Pay {amount} in {mainCurrency} and you will take {amount/0.99/3.75} in {convertedCurrency} ")
else:
print(f"you choice a error may in main currency or in the converted currency ")
ماذا لو ادخل المستخدم نص بدلا من المبلغ المراد تحويله
مع اضافة بسيطة
USD = 3.75
EUR = 0.99
r = 1
print("="*20)
print("Welcome To $$ EXCHANGE STORE $$")
print("="*20)
while r != "quit":
froM = input("Exchange From (USD , EUR , SAR) : ").upper()
valfroM = float(input("How match : "))
tO = input("Exchange To (USD , EUR , SAR) : ").upper()
if froM == tO:
print(f"The amount will remain the same ({valfroM}")
elif froM == "USD" and tO == "EUR":
print(f"You will give {valfroM} {froM} and you will take {valfroM * EUR} {tO}")
elif froM == "USD" and tO == "SAR":
print(f"You will give {valfroM} {froM} and you will take {valfroM * USD} {tO}")
elif froM == "EUR" and tO == "USD":
print(f"You will give {valfroM} {froM} and you will take {valfroM / EUR} {tO}")
elif froM == "EUR" and tO == "SAR":
print(f"You will give {valfroM} {froM} and you will take {valfroM / EUR * USD} {tO}")
elif froM == "SAR" and tO == "USD":
print(f"You will give {valfroM} {froM} and you will take {valfroM / USD} {tO}")
elif froM == "SAR" and tO == "EUR":
print(f"You will give {valfroM} {froM} and you will take {valfroM / USD * EUR} {tO}")
elif froM == "QUIT":
r = "quit"
else:
print("Wrong Currency")
جزاك الله خيرا استاذ منذر
ما شاء الله عليك بطريقة توصيل الفكرة ❤