Python for Beginners | Ep -11 | String and List Splicing| Tamil | code io
ฝัง
- เผยแพร่เมื่อ 4 พ.ย. 2024
- Python for Beginners | Ep -11 | String and List Splicing| Tamil | code io
String Splicing
List Splicing
code io
Follow us in Instagram for more updates
/ code.i.o
Hash Tags
#Python #Python-Beginners #python-tamil
you are a lifesaver brooo. thankkyouu soo muchh
Loved you explanation, Simple yet awesome:)
(20,30,40,60)
a=input("Enter a string:")
k=a[ : :-1]
if(k==a):
print("The given string is a 'PALINDROME'")
else:
print("The given string is not a 'PALINDROME'")
a='troll geek'
k=KEEG LLORT
k==a
===> NOT PALINDROME
Anna ur teaching good anna
keep posting more videos
u are doing a great job
respect brooo
Thank you!!!
A is the correct option..
Bro.... Next video on OOP concepts !!
Coming soon
a)(20,30,40,60)
n-1=4
Option (b)
option A is the correct answer bro
Answer is ; A
Option A
Anna yena step value 2 kudutha one string skip aguthu and step value 3 kudutha 2 strings skip aguthu
Need oops concept in python.
A)(20,30,40,60)
Its option B, as he used "," after the tup
Bro print line le braked changes pannanu
Answer is a) bro
Options A
A is the answer bro
Anna, entha output venum ennakku
a a a a a
name='ababababab'
print(name[0:10:2],sep=' ')
but output is aaaaa
anna, enna code ezhuthuna output : a a a a a
varum for string: name='ababababab'
name= 'ababababab'
name1= name.replace('b'," ")
print(name1)
@@jackada301 👌👌👌
a="ab ab ab ab ab"
b=len(a)
print(a[0:b:2])
You are create ab and ab between size of 2space
Output:a a a a a
(20, 30,40,60) A
Option (A)
Option d
Anna list comprehensions pathi oru video podunga pls onnum purla
Sure bro..
Answer is B ()
Ans : A
20,30,40,60
Option a
b. () answer
answer A
can we use this same slicing concept for set and range? anyone please answer.
@code io-Tamil
Answer option A
Option A
after bracket comma(,) is denoted.
That's not a matter sis
A)
👌👌👌
😊😊🙏🙏🙏🙏
Sir option a
A
A
A, (20, 30,40,60)
B
Answer:
D) Error
Because 'Tup' is a single element tuple.
awesome
@@mohamediburahimp7661 In tuples, individual elements are separated by commas. So in the given tuple 'Tup', we have only one element in its 0 index but we are asking the interpreter to print the elements of the tuple from the 1st index to 4th index, for which the tuple has no elements. So, we get the output as ERROR.
Hope you understood it bro 😄
👍👍👍
@@prithiviraaj5090 thank you for clearful explanation 💫👍
Bro, how u r saying from 1st to 4th index there is no element, how come the answer is error...can u pls explain bro because if I run the code I got (20, 30, 40, 60)
Option D error 🤧
Option D
(20,30,40,60)
Options A
Option a
A
A
Option A
Option a
A
A
A
A
A
A
Option A
A