Загрузка...

Input a list of numbers and swap elements at the even location with the elements at the odd locatio

#computerscience #python #computerscienceclass11 #cbse In this video I have explained the practical 13 of CBSE Class 11 Computer Science with python. I have explained the program to Input a list of numbers and swap elements at the even location with the elements at the odd location. Source Code: #Input a list of numbers and swap elements at the even location with the #elements at the odd location. print("Input a list of numbers and swap elements at the even location with the") print("elements at the odd location.\n") lst = [] num = int(input('How many numbers: ')) for n in range(num): numbers = int(input('Enter number ')) lst.append(numbers) print("List before swaping: ",lst) for i in range(0,num-1,2): temp1=lst[i] temp2=lst[i+1] lst[i]=temp2 lst[i+1]=temp1 print("List after swaping: ",lst) To learn python full course watch: https://www.youtube.com/watch?v=6QVBMuWIBrk&list=PLuND5JsayY-ypqFFFqQyD_H5y5MdIflMc To learn Class XI Computer Science: https://www.youtube.com/watch?v=6QVBMuWIBrk&list=PLuND5JsayY-ypqFFFqQyD_H5y5MdIflMc if you want video on any topic you can comment or contact. fb page: https://www.facebook.com/computerguruhub/ Author on fb: https://www.facebook.com/sknager Telegram Channel: https://t.me/computerguruhub Telegram Group: https://t.me/computerguruhub1 #python #cbse #computerscience #pythonprogramming #computerscienceclass11 #pythontutorial #cbsepythonclass11 #advantagesofpython #pythonclass12 #pythoninhindi #pythonforbeginners #class11computerscience #class11pythoninhindi #pythonforclass11 #pythontutorialforbeginners #pythonclass11 #class11 #class11python #codipymohit #class12pythoninhindi #cbsepythonboardexampapers #pythontutorialinhindi #csforclass11 #pythonfullcourseinhindi #pythonpracticalprogramming #learnpythoninhindi #agilestudy #class11pythonchapter1 #outputinpython #pythontutorialinhindiforbeginners #ipforclass11 #pythonhindi #practical #gettingstartedwithpython #inputinpython #completepythontutorialinhindi #newsyllabus #cs #completepythoncourse #variablesinpython #pythontutorialforbeginnersinhindi #pythontraining #practicalfile #newippattern #informaticspracticesforclassxi #classxi #pythoninstallation #ipwithpython #whatispython #pythonintroduction #techshubham #xi #ipforclasxi #completepythontutorial #class11pythoncbse #pythonbasics #pythontutorialwithexample #variabledefinition #firstprograminpython #pythonfaqs #dynamictyping #featuresofpython #sumitaaroraexercisesolutions #introductiontopython #sumitaaroraclass11 #computersciencewithpython #informaticspractices #sumitkumarnager #techcbse #btechstudentshelpline #bcaignou #howtostudyforbca #pythonclass11cbsc #class11pythonpractical #computersciencecampusplacements #collegeplacements #pythonpracticals #learnprogramminginhindi #programmingtutorials #pythontutorialsinhindi #pythonprogrammingpracticalexamples #anjaliluthra #bca #list #learnprogramming #pythonforclass11cbse #datastructuresandalgorithms #pythonclass11cbse #iptutorials #howtoprepareforcampusplacements #cbseclass11computerscience #computerguruhub #pythonprograms #howtolearnprogramming #stackandoperations #howtobecomeaprogrammer #cbsesession202021practicals #toppergaurav #class12practical #score30 #boardexam #boardpracticalstips #computerpractical #tips #pythonclass11list

Видео Input a list of numbers and swap elements at the even location with the elements at the odd locatio автора Python Размышления
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки