Playback starts YouTube’s embedded player (privacy-enhanced mode).
#27 Python Tutorial for Beginners | Array values from User in Python | Search in Array
ChannelTeluskoDescription from the creator
Check out our courses:
Agentic AI Engineering with Python : go.telusko.com/agentic-ai-python
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : go.telusko.com/learn-master
Coupon: TELUSKO10 (10% Discount)
For More Queries WhatsApp or Call on : +919008963671
website : telusko.com/
Udemy Courses:
Java Spring:- go.telusko.com/Udemyjavaspring
Java:- go.telusko.com/udemyteluskojava
Spring: go.telusko.com/udemyteluskospring
Java For Programmers:- go.telusko.com/javaProgrammers
Python : go.telusko.com/udemyteluskopython
Git : go.telusko.com/udemyteluskogit
Docker : go.telusko.com/udemyteluskodocker
Instagram : instagram.com/navinreddyofficial/
Linkedin : in.linkedin.com/in/navinreddy20
WhatsApp : go.telusko.com/whatsapp
Discord : discord.gg/D8hWe9BqfF
In this lecture we will learn:
- How to create an empty array?
- How to create an array through user input?
- Array creation by taking the values from a user
- How to search an element in an array?
- Function used to get the index value of an element in python
#1
- We can also create a blank array and can take the values for it from the user.
- First, we have to take the length of an array from the user.
- input() function takes the value in the form of a string, so we have to change it into an integer using int().
- We can run a loop in a range of length of an array given by the user. At each iteration, we can take a value to be inserted in an array.
- append() is a function that is used to add a value or an element in an array.
#2
- To search for any value in an array or to check the index number at which the value is present, we need to increment the value of an iterator variable in every iteration.
- When the condition of comparison gets true, we stop the loop to iterate further and print the value of an iterator variable.
- The iterator variable will return an index number of the value, you have searched for.
#3
- index() function can also be used to get the index number of a value in an array.
Github :- github.com/navinreddy20/Python-
Python for Beginners :- bit.ly/3JOLQhl
Java and Spring Framework For beginners with Spring Boot : - bit.ly/3LDMj8D
Java Tutorial for Beginners (2023) :- bit.ly/3yARVbN
Editing Monitors :
amzn.to/2RfKWgL
amzn.to/2Q665JW
amzn.to/2OUP21a.
Subscribe to our other channel:
Navin Reddy : youtube.com/channel/UCxmk...
Telusko Hindi :
youtube.com/channel/UCitz...
Donation:
PayPal Id : navinreddy20
Patreon : navinreddy20
telusko.com/contactus
Agentic AI Engineering with Python : go.telusko.com/agentic-ai-python
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : go.telusko.com/learn-master
Coupon: TELUSKO10 (10% Discount)
For More Queries WhatsApp or Call on : +919008963671
website : telusko.com/
Udemy Courses:
Java Spring:- go.telusko.com/Udemyjavaspring
Java:- go.telusko.com/udemyteluskojava
Spring: go.telusko.com/udemyteluskospring
Java For Programmers:- go.telusko.com/javaProgrammers
Python : go.telusko.com/udemyteluskopython
Git : go.telusko.com/udemyteluskogit
Docker : go.telusko.com/udemyteluskodocker
Instagram : instagram.com/navinreddyofficial/
Linkedin : in.linkedin.com/in/navinreddy20
WhatsApp : go.telusko.com/whatsapp
Discord : discord.gg/D8hWe9BqfF
In this lecture we will learn:
- How to create an empty array?
- How to create an array through user input?
- Array creation by taking the values from a user
- How to search an element in an array?
- Function used to get the index value of an element in python
#1
- We can also create a blank array and can take the values for it from the user.
- First, we have to take the length of an array from the user.
- input() function takes the value in the form of a string, so we have to change it into an integer using int().
- We can run a loop in a range of length of an array given by the user. At each iteration, we can take a value to be inserted in an array.
- append() is a function that is used to add a value or an element in an array.
#2
- To search for any value in an array or to check the index number at which the value is present, we need to increment the value of an iterator variable in every iteration.
- When the condition of comparison gets true, we stop the loop to iterate further and print the value of an iterator variable.
- The iterator variable will return an index number of the value, you have searched for.
#3
- index() function can also be used to get the index number of a value in an array.
Github :- github.com/navinreddy20/Python-
Python for Beginners :- bit.ly/3JOLQhl
Java and Spring Framework For beginners with Spring Boot : - bit.ly/3LDMj8D
Java Tutorial for Beginners (2023) :- bit.ly/3yARVbN
Editing Monitors :
amzn.to/2RfKWgL
amzn.to/2Q665JW
amzn.to/2OUP21a.
Subscribe to our other channel:
Navin Reddy : youtube.com/channel/UCxmk...
Telusko Hindi :
youtube.com/channel/UCitz...
Donation:
PayPal Id : navinreddy20
Patreon : navinreddy20
telusko.com/contactus
About this tutorial
Telusko published this 10:02 video tutorial on October 30, 2018. It has been watched 891,135 times on YouTube.
- Channel
- Telusko
- Category
- Science & Technology
- Duration
- 10:02
- Published
- October 30, 2018
- Views
- 891,135
- Likes
- 17,725
Tags
Share
This tutorial in other languages
- FR# 27 Python Tutorial pour les débutants | Les valeurs de Array de l'utilisateur en Python | Rechercher dans Array
- ES# 27 Tutorial de Python para principiantes | valores de la matriz de usuario en Python | Buscar en Array
- PT# 27 Python Tutorial para Iniciantes | valores da matriz de usuário em Python | Buscar in Array
- IT# 27 Python Tutorial per principianti | I valori di Array di utente in Python | Cerca in Array
- DE# 27 Python Tutorial für Anfänger | Array Werte von Benutzern in Python | Suche in Array
- NL# 27 Python Tutorial voor beginners | Array waarden van de gebruikersgegevens in Python | Zoeken in Array
- RU# 27 Учебник Python для начинающих | Значения массивов от пользователя в Python | Поиск в массиве
- PL# 27 Python Tutorial dla początkujących | Wartości tablicy od użytkownika w Pythonie | Szukaj w Array
- JA初心者のための#27のPythonチュートリアル| Pythonでユーザーからの配列値|配列内検索
- AR# 27 بيثون دروس للمبتدئين | قيم مجموعة من العضو في بيثون | بحث في صفيف
- HI# शुरुआती 27 पायथन ट्यूटोरियल | अजगर में उपयोगकर्ता से सरणी मान | सरणी में खोजें
- ID# 27 Python Tutorial untuk Pemula | nilai array dari User di Python | Cari di Array