Master in Python :- kzbin.info/aero/PLI4OVrCFuY543naNBsCaRLrLSxI7MUOzZ
@anonymouspurohit369114 күн бұрын
Sir i dont have words for you🥹🥹. You are a life saver, tomorrow is my exam. You taught very well.
@Codeyug4 күн бұрын
Thanks and please do share
@chandrakamalgupta91162 жыл бұрын
Kaha chhupe huye the bhai abhi tak , bahut achcha padha rahe ho . Dhanyavad
@Codeyug2 жыл бұрын
Thanks for valuable comment.. Please do watch oop and advanced python😀
@nasiruddinshaikh1693 Жыл бұрын
thank u
@chandankishore80722 жыл бұрын
bhai ye string ko kaise split kre "substr(name,1,3)" mujhe substr name 1 3 sub alga chahiye
@Codeyug2 жыл бұрын
There is no direct way but there is nothing you can't do with python. Split two times. One using '(' separator and another with ', '. Okay?
@KaranSinghD-yj9ep2 жыл бұрын
#Split() """ The split() method breaks up a string at specific seperator and return a list of string. syntax : string_name.split(separator, maxsplit) separator : Its separate strings . Bydefauly , whitespace is a separator. maxsplit : How many split to do. """ msg = " hii my name is karan and i live in tamilnadu" print(msg) msg= msg.split() #defalut by space print(msg) print(len(msg)) group_of_students = ("karan ,ashish,manish, chandan") group_of_students=group_of_students.split(",") print(group_of_students) print(len(group_of_students)) #Split return string to list. group_of_students =("Karan ,raj,ashish ,chadan,manish") group_of_students = group_of_students.split(",",3) print(group_of_students) print(len(group_of_students))