uk
Feedback

Не попадись на ботовода! Telemetrio знаходить і позначає такі канали мітками 👉 Хочеш бачити мітку, оформляй підписку

Python Codes

Python Codes

Відкрити в Telegram

This channel will serve you all the codes and programs which are related to Python. We post the codes from the beginner level to advanced level.

Показати більше
7 090
Підписники
Немає даних24 години
Немає даних7 днів
Немає даних30 днів
Архів дописів
Sorts one list based on another list containing the desired indexes. Use zip() and sorted() to combine and sort the two lists, based on the values of indexes. Use a list comprehension to get the first element of each pair from the result. Code: def sort_by_indexes(lst, indexes): return [val for _, val in sorted(zip(indexes, lst), key = lambda x: x[0])] EXAMPLES a = ['eggs', 'bread', 'oranges', 'jam', 'apples', 'milk'] b = [3, 2, 6, 4, 1, 5] sort_by_indexes(a, b) # ['apples', 'bread', 'eggs', 'jam', 'milk', 'oranges'] Share and Support @python_codes

Dear all 🙏🏻 On behalf of Teachers Day, Global conference hub slashed the registration fee of ICIES - 2020 (fee Rs 2999 Rs.1
Dear all 🙏🏻 On behalf of Teachers Day, Global conference hub slashed the registration fee of ICIES - 2020 (fee Rs 2999 Rs.1888 today only including Journal Publication ) to all Academicians / Research Scholar/students to mark the birth year of Dr Radhakrishnan. 👉🏻To avail the offer today only submit your abstract/full paper in the Registration Link : tinyurl.com/REGicies2020 👉🏻All accepted papers will get published in Crossref DOI, Academia & Google scholar indexed International journal with no additional cost. 🗓Date : 19 & 20 September 2020 📝Registration Link: tinyurl.com/REGicies2020 For queries, Contact 📞+916382289536 ☎️+916380524933 Info@globalconferencehub.com www.globalconferencehub.com

​Dear all 🙏🏻 🌏Global conference hub is very pleasure to organize the First International Conference on Innovations in Engineering Sciences (ICIES - 2020) - Online📊 👉🏻All accepted papers will get published in *Cross ref* indexed International journal with Doi🏆 🗓️Date : 19 & 20 September 2020 👨🏼‍🎓👩🏼‍🎓*Open to all STUDENTS, PROFESSORS, EDUCATORS & RESEARCH SCHOLARS* 📜E-certificates will be provided to all the registered Authors* 📝Registration Link: tinyurl.com/REGicies2020 💡*EARLY BIRD REGISTRATION registrations for Rs.2499/- Only*(Including Journal publication) For queries, Contact 📞+916382289536 ☎️+916380524933 Info@globalconferencehub.com www.globalconferencehub.com Share it ahead with your friends and peers ! Stay Home Stay Safe

Solution: def BalancedBrackets(st): openingBrackets="([{" closingBrackets=")]}" matchingBrackets={ ')':'(', '}':'{', ']':'[' } stack=[] for char in st: if char in openingBrackets: stack.append(char) elif char in closingBrackets: if len(stack)==0: return False if stack[-1]==matchingBrackets[char]: stack.pop() else: return False return len(stack)==0 print(BalancedBrackets(input())) Share and Support @python_codes

Problem: Given a String contains Opening and Closing Brackets return True or False based on the given Brackets are Balanced or Not INPUT: OUTPUT: {[()]} —-> True {{){}} —-> False

🔍 Promote Your Channels Here👉 | @WorldPromotions ➖=➖=➖=➖=➖=➖=➖=➖ 📚All type of study Books📚 📖Check out Engineering Books⚙ 📥Paid courses for Free📥 ━━━━━✧❂✧━━━━━ 🆔 @ElectricalLearner 🌺 @Interesting_Knowledge 🌺 @chemistryebook 🌺 @Ebooksenglish 🆔 @EngineersHub 🌺 @UdemyKing_Free_Courses 🌺 @Bookssite_et 🆔 @Engineering_Ebooks1 🌺 @Applications_site 🌺 @WorldThinkers 🌺 @english2500 🌺 @JOBS_UPDATE 🌺 @English_world2013 🌺 @LibraryWorld 🌺 @golden_bookstore 🌺 @EEEGarage 🌺 @BooksHouse 🌺 @ComputerEngineeringBooks 🌺 @Verifyknowledge 🌺 @Vocabulary 🌺 @TheHoodp 🆔 @Automobile_Engineer1 🌺 @EngineeringDesigners 🌺 @BBCNewsEnglish 🆔 @movies_now_hd 🌺 @TheHappiestCommunity 🌺 @ProgrammingEbookz 🌺 @spirituallibrary 🌺 @Quotes 🌺 @MarriageGoals 🌺 @python_codes 🌺 @SciTechNews 🌺 @Facts 🌺 @DownloadLinksMaterials 🌺 @marketing_and_personality 🌺 @open_ebooks 🌺 @BasicElectronics 🌺 @PythonEbookz 🆔 @CoursesLinks 🌺 @FinancialAbundance 🌺 @kidsbookden 🌺 @SciTechVid 🌺 @inspiringbooks 🆔 @ArticlesOfTheDay 🕉 @HinduReligion 🌺 @terrificknowledge 🌺 @InspiringVideos 🆔 @WORLDNEWS 🌺 @Civil_Engineering_CE 🌺 @BrilliantQ 🌺 @BasicsToKnow 🌺 @granthlok 🌺 @edit4you 🌺 @AllFree_Courses 🌺 @inner_words 🌺 @internationalStandards 🌺 @goldenarchives 🌺 @DailyGovermentJobs 🌺 @new_tech_facts 🌺 @love_is_lyf 🌺 @MarathiBlog 🌺 @iMathematician 🌺 @Technoworld22 🌺 @TechnologyNewsBytes 🌺 @engineeringnotes_ktu_ku_leon 🌺 @motivating_word 🌺 @TechDate 🌺 @Mandirs 📝Article Of The Day📝 🤯Secret Unheard Facts🦃 📖Word Of The Day🎁 ━━━━━✧❂✧━━━━━ 🔍 Promote Your Channels Here👉 | @WorldPromotions ➖=➖=➖=➖=➖=➖=➖=➖

photo content

photo content

​Dear all 🙏🏻 🌏Global conference hub is happy to organize the First International Conference on Innovations in Engineering Sciences (ICIES - 2020) - Online📊 👉🏻All accepted papers will get published in *Cross ref* indexed International journal with Doi🏆 🗓️Date : 19 & 20 September 2020 👨🏼‍🎓👩🏼‍🎓*Open to all STUDENTS, PROFESSORS, EDUCATORS & RESEARCH SCHOLARS* 📜E-certificates will be provided to all the registered Authors* 📝Registration Link: tinyurl.com/REGicies2020 💡*EARLY BIRD REGISTRATION registrations for Rs.2499/- Only* 🤝🏼Join our whatsapp group Group 5 : https://chat.whatsapp.com/HQWeawdbEPnChdnVpjWEWn Group 6 : https://chat.whatsapp.com/CB60YbhQT8Y9sWkb1fBxUF For queries, Contact 📞+916382289536 ☎️+916380524933 Info@globalconferencehub.com www.globalconferencehub.com Share it ahead with your friends and peers ! Stay Home Stay Safe

​Last date Hurry up!!! Register soon Dear Sir / Madam It gives us great pleasure to invite you 1st International Conference on Advancements in Research and Development (ICARD) 2020📚📂 🎯All the accepted papers will be published in International Research Journal on Advanced in Science Hub ( IRJASH) - 🎁Indexed by google scholar & Academia 🗓Date : 29/08/2020 & 30/08/2020. ⏰Time : 9.30 am to 4.30 pm 👨🏼‍🎓👩🏼‍🎓 Who Can Attend : Academicians, Research Scholars, students (UG/PG) 📽Mode of Conduction: Online 📊For abstract or full paper registration : tinyurl.com/RegICARD2020 💰Conference fee with Journal publication Rs.2499 for Indian and $100 for foreign authors 🎳Benefits for authors ● Plagiarism checking ● Grammar checking ● Keynote session ● Exclusive webinar Perks 🏆Best presentation for UG / PG, Research Scholar, Academician & Industry people. For more details http://www.rspconferencehub.com

🔍 Promote Your Channels Here👉 | @WorldPromotions ➖=➖=➖=➖=➖=➖=➖=➖ 📚All type of study Books📚 📖Check out Engineering Books⚙ 📥Paid courses for Free📥 ━━━━━✧❂✧━━━━━ 🆔 @ElectricalLearner 🍌 @Interesting_Knowledge 🍌 @Ebooksenglish 🆔 @EngineersHub 🍌 @UdemyKing_Free_Courses 🆔 @Engineering_Ebooks1 🍌 @WorldThinkers 🍌 @english2500 🍌 @English_world2013 🍌 @JOBS_UPDATE 🍌 @LibraryWorld 🍌 @golden_bookstore 🍌 @EEEGarage 🍌 @BooksHouse 🍌 @Verifyknowledge 🍌 @ComputerEngineeringBooks 🍌 @Vocabulary 🍌 @TheHoodp 🆔 @Automobile_Engineer1 🍌 @EngineeringDesigners 🍌 @BBCNewsEnglish 🍌 @TheHappiestCommunity 🍌 @ProgrammingEbookz 🍌 @spirituallibrary 🆔 @movies_now_hd 🍌 @Quotes 🍌 @MarriageGoals 🍌 @SciTechNews 🍌 @python_codes 🍌 @Facts 🍌 @DownloadLinksMaterials 🍌 @marketing_and_personality 🍌 @BasicElectronics 🍌 @PythonEbookz 🍌 @open_ebooks 🆔 @CoursesLinks 🍌 @SciTechVid 🍌 @FinancialAbundance 🍌 @inspiringbooks 🍌 @ArticlesOfTheDay 🍌 @terrificknowledge 🍌 @kidsbookden 🕉 @HinduReligion 🍌 @InspiringVideos 🆔 @WORLDNEWS 🍌 @BrilliantQ 🍌 @BasicsToKnow 🍌 @edit4you 🍌 @AllFree_Courses 🍌 @inner_words 🍌 @internationalStandards 🍌 @goldenarchives 🍌 @DailyGovermentJobs 🍌 @MarathiBlog 🍌 @love_is_lyf 🍌 @Technoworld22 🍌 @TechnologyNewsBytes 🍌 @iMathematician 🍌 @engineeringnotes_ktu_ku_leon 🍌 @motivating_word 🍌 @TechDate 🍌 @Mandirs 📝Article Of The Day📝 🤯Secret Unheard Facts🦃 📖Word Of The Day🎁 ━━━━━✧❂✧━━━━━ 🔍 Promote Your Channels Here👉 | @WorldPromotions ➖=➖=➖=➖=➖=➖=➖=➖

""" The following code adds two positive integers without using the '+' operator. The code uses bitwise operations to add two numbers. Input: 2 3 Output: 5 """ def add_bitwise_operator(x, y): while y: carry = x & y x = x ^ y y = carry << 1 return x Share and Support @python_codes

40 Algorithms Every Programmer Should Know (2020) @pythonEBookz

💯 Daily Premium Paid Courses For Free 🔥 🔥Plz Join This Channel For More Premium Paid Courses Free Here @oncourse12 🧰 Udemy 🧰 Unacademy 🧰 Edx 🧰 SkillShare 🧰 Etoos 🧰 Udacity 🧰 Khan-Academy 🧰 Code Academy 🧰 Coursera 🧰 Teded 🧰 Future-Learn 🧰 MasterClass

photo content

Dear Sir / Madam Greetings from RSP CONFERENCE HUB🌷 It gives us great pleasure to invite you 1st International Conference on Advancements in Research and Development (ICARD) 2020📚📂 🎯All the accepted papers will be published in International Research Journal on Advanced in Science Hub ( IRJASH) - 🎁Indexed by google scholar & Academia 🗓Date : 29/08/2020 & 30/08/2020. Whatsapp G9:https://chat.whatsapp.com/FoQu4kepwnhKT1iPmL65Hd 📊For abstract or full paper registration : tinyurl.com/RegICARD2020 ICARD G10: https://chat.whatsapp.com/DwZ7FXzNUa1EoXcF8drYCg 📝 Paper submission last date : 23/08/2020 👨🏼‍🎓👩🏼‍🎓 Who Can Attend : Academicians, Research Scholars, students (UG/PG) 📽Mode of Conduction: Online 💰Conference fee with Journal publication Rs.2020 (Early bird Registrations) for Indian and $80 for foreign authors Perks 🏆Best presentation for UG / PG, Research Scholar, Academician & Industry. More info http:www.rspconferencehub.com

🔍 Promote Your Channels Here👉 | @WorldPromotions ➖=➖=➖=➖=➖=➖=➖=➖ 📚All type of study Books📚 📖Check out Engineering Books⚙ 📥Paid courses for Free📥 ━━━━━✧❂✧━━━━━ 🆔 @ElectricalLearner 🦄 @Interesting_Knowledge 🦄 @Ebooksenglish 🆔 @EngineersHub 🦄 @UdemyKing_Free_Courses 🆔 @Engineering_Ebooks1 🦄 @WorldThinkers 🦄 @english2500 🦄 @Jobs_Update 🦄 @English_world2013 🦄 @hackergaang 🦄 @LibraryWorld 🦄 @EEEGarage 🦄 @BooksHouse 🦄 @Verifyknowledge 🦄 @ComputerEngineeringBooks 🦄 @Vocabulary 🦄 @TheHoodp 🆔 @Automobile_Engineer1 🦄 @EngineeringDesigners 🦄 @BBCNewsEnglish 🦄 @TheHappiestCommunity 🦄 @ProgrammingEbookz 🦄 @spirituallibrary 🆔 @movies_now_hd 🦄 @Quotes 🦄 @SciTechNews 🦄 @python_codes 🦄 @Facts 🦄 @marketing_and_personality 🦄 @DownloadLinksMaterials 🆔 @CoursesLinks 🦄 @BasicElectronics 🦄 @PythonEbookz 🦄 @SciTechVid 🦄 @open_ebooks 🦄 @FinancialAbundance 🦄 @ArticlesOfTheDay 🦄 @inspiringbooks 🦄 @terrificknowledge 🕉 @HinduReligion 🦄 @InspiringVideos 🦄 @WORLDNEWS 🦄 @kidsbookden 🦄 @BasicsToKnow 🦄 @edit4you 🦄 @AllFree_Courses 🦄 @inner_words 🦄 @internationalStandards 🦄 @DailyGovermentJobs 🦄 @MarathiBlog 🦄 @love_is_lyf 🦄 @Technoworld22 🦄 @TechnologyNewsBytes 🦄 @engineeringnotes_ktu_ku_leon 🦄 @iMathematician 🦄 @TechDate 🦄 @Mandirs 📝Article Of The Day📝 🤯Secret Unheard Facts🦃 📖Word Of The Day🎁 ━━━━━✧❂✧━━━━━ 🔍 Promote Your Channels Here👉 | @WorldPromotions ➖=➖=➖=➖=➖=➖=➖=➖

🔍 Promote Your Channels Here👉 | @WorldPromotions ➖=➖=➖=➖=➖=➖=➖=➖ 📚All type of study Books📚 📖Check out Engineering Books⚙ 📥Paid courses for Free📥 ━━━━━✧❂✧━━━━━ 🆔 @ElectricalLearner 🦄 @Interesting_Knowledge 🦄 @Ebooksenglish 🆔 @EngineersHub 🦄 @UdemyKing_Free_Courses 🆔 @Engineering_Ebooks1 🦄 @WorldThinkers 🦄 @english2500 🦄 @Jobs_Update 🦄 @English_world2013 🦄 @hackergaang 🦄 @LibraryWorld 🦄 @EEEGarage 🦄 @BooksHouse 🦄 @Verifyknowledge 🦄 @ComputerEngineeringBooks 🦄 @Vocabulary 🦄 @TheHoodp 🆔 @Automobile_Engineer1 🦄 @EngineeringDesigners 🦄 @BBCNewsEnglish 🦄 @TheHappiestCommunity 🦄 @ProgrammingEbookz 🦄 @spirituallibrary 🆔 @movies_now_hd 🦄 @Quotes 🦄 @SciTechNews 🦄 @python_codes 🦄 @Facts 🦄 @marketing_and_personality 🦄 @DownloadLinksMaterials 🆔 @CoursesLinks 🦄 @BasicElectronics 🦄 @PythonEbookz 🦄 @SciTechVid 🦄 @open_ebooks 🦄 @FinancialAbundance 🦄 @ArticlesOfTheDay 🦄 @inspiringbooks 🦄 @terrificknowledge 🕉 @HinduReligion 🦄 @InspiringVideos 🦄 @WORLDNEWS 🦄 @kidsbookden 🦄 @BasicsToKnow 🦄 @edit4you 🦄 @AllFree_Courses 🦄 @inner_words 🦄 @internationalStandards 🦄 @DailyGovermentJobs 🦄 @MarathiBlog 🦄 @love_is_lyf 🦄 @Technoworld22 🦄 @TechnologyNewsBytes 🦄 @engineeringnotes_ktu_ku_leon 🦄 @iMathematician 🦄 @TechDate 🦄 @Mandirs 📝Article Of The Day📝 🤯Secret Unheard Facts🦃 📖Word Of The Day🎁 ━━━━━✧❂✧━━━━━ 🔍 Promote Your Channels Here👉 | @WorldPromotions ➖=➖=➖=➖=➖=➖=➖=➖

Best Examples of Lambda Functions: Factorial of a Number: fact=lambda n:1 if n<=1 else n*fact(n-1) fact(5) n th fibonacci Number: fib=lambda n:n if n<=1 else fib(n-1)+fib(n-2) fib(8) Share and Support @python_codes