I checked this code as I'm a new learner and finally the following helped me enter the list elements 5 times after running this file: seq =[ ] for i in range(5): ele = int(input("enter a number: ")) seq.append(ele) print(seq) exit You may like to update your video. Thanks
Hello sir..i have learnt C programming by watching your videos. Now I am learning python as well. Sir my only request is please upload more videos as soon as possible.
if we enter whether 10, or 10.5 or Ten ... any value entered will be stored as string data type.... If you want to enter a particular data type then you will have to mention it while taking input example: element = int(input("Enter: ")) , here int will take only integer values
Sir, as you said in your previous videos input function takes string as a input but in this video's input is talking integer and append in list so can you explain because I am not understand this thing.and iteration for and while videos in not in the playlist so if you can upload this video's than it is great help for me . Thankyou
i tried to install PIL. But it's giving error - 'pip' is not recognized as an internal or external command, operable program or batch file. What to do?
hi try split() function. list=input().split() it will create a list with number of elements separated with space in a single line. Hope your doubt has been clarified.
hi sai sure i will do that. thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
The best ever teaching I have seen !
Excellent sir ...tq for doing videos
I checked this code as I'm a new learner and finally the following helped me enter the list elements 5 times after running this file:
seq =[ ]
for i in range(5):
ele = int(input("enter a number: "))
seq.append(ele)
print(seq)
exit
You may like to update your video. Thanks
Thanks bro.
It really helped me with my doubt.
this will give you wrong output. you made a mistake near print(seq). look at the indentation.
Hello sir..i have learnt C programming by watching your videos. Now I am learning python as well. Sir my only request is please upload more videos as soon as possible.
THANKS. UNDERSTOOD LIST IN PYTHON PERFECTLY
1) If we enter 10, then it taken as character or integer ?
2) How to store 10 as a character in the LIST
if we enter whether 10, or 10.5 or Ten ... any value entered will be stored as string data type....
If you want to enter a particular data type then you will have to mention it while taking input
example: element = int(input("Enter: ")) , here int will take only integer values
Sir by using append you created code but by using split same code is not excuted please explain
How to create a list 1 and list 2 with some values and Give the ouput
Nice video sir
Hi sir
Following your for python videos but list topics, in implementation is not defined 'a' is not defined his showing sir
May know the reason sir
Sir in list concept append ( ), were I will be increased sir , their is no incremental operation
sir simple projects ela cheyyalo cheppandhi sir.....by the way your teaching is extraordinary
Sir, as you said in your previous videos input function takes string as a input but in this video's input is talking integer and append in list so can you explain because I am not understand this thing.and iteration for and while videos in not in the playlist so if you can upload this video's than it is great help for me .
Thankyou
type(input())....
But it is string only sir may be forget about it
Append, extend,pop, deletion, remove, insert also you will tell sir
Thank you so much 💖 sir ur best sir❤
Sir why we use for loop only
Sir, I liked your videos. Kindly send me all videos for Python
Sir it would be better if u give example for slipt as u gave for append
How to work with images in python? how to download PIL module?
Best teacher
Can you mention oder wise episodes like episode_1, episode_2, episode3
Love from Bengaluru Karnataka
i tried to install PIL. But it's giving error - 'pip' is not recognized as an internal or external command,
operable program or batch file. What to do?
Once you check the path wheather it was set or not. If not set the path in environmental variables.
Sir how to create a list by giving n number of space separated elements ,means i wanted to restrict number of elements by giving a size called n...
hi
try split() function.
list=input().split()
it will create a list with number of elements separated with space in a single line.
Hope your doubt has been clarified.
Tq sir but that syntax allows unlimited elements ......what about limited elements like a list of size 5 with space seperated ??
let me check once and i will let you know.
Tq so much sir for your kind response waiting for ur rply😊
Thank you sir
Sir, when will u upload c++ programming language playlist in youtube?
Sir, you explain every topic very well. Thank you sir.
Sir,you explain every topic is super . Thank you sir.
qust- list =[1,2,[3,5],4] and list[3]=7 #whats the O/p of the list ?
sir, Can you please update the complete split syntax such that the mentioned list will published
Sir I was so interested by watching your videos but please explain with more example programs
result is integer values
seq=[10,20,30,40,50]
sir.when i use split function or append function my list shows numeric numbers as variables.
seq=['12','10']
Terminal input is a string by default. Convert the input to an integer by using the int() method before appending
loud and clear
Sir please mention a book for OOP and DSA using PYTHON
hola amigo indio de india me gusta mucho tu forma de comprender las cosas te saludo desde Chile y muchas gracias
Sir what about iterative statements
Sir please post it in Java please
Am not understanding the output
Thanku Sir
Sir could you please explain the example by using multiple elements
a,b,c=input("enter values").split()
Sir, python similar like java language
Can u upload your videos in +2 level explanation in stateboard syllabus in Python programming plz sir
Sir give an example how to use 2nd method i. e., using split()
list_name=[ ]
list_name=input("enter values").split()
print(list_name)
Sir ,thank you for your clearly explanation list👍🔥
The first eg program u had given is not much understandable Pls give another eg program
ten element on table
sir can I input value in the list using the index of the element as in C language?
yes List[0]
please upload fast sir videos
hi sai
sure i will do that.
thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
Tamil podunga