Skip to main content

Posts

Showing posts from May 19, 2020

Python Strings in hindi (Part -6)

Subscribe * indicates required Email Address *                                                 String in Python Python mai hm string ka use krte hai text information ko store krne ke liye jaise ki name, jaisa ki hm jante hai Python mai character nhi hota python mai character ko string of length one mana jata hai. String ko single quotation mai bhi represent kr skte hai aur double quotation mai bhi represent kr skte hai. Let's see an example..    print('hey') print("hey") agar hame multiline string ko assign krna hai to ham wo bhi kr skte hai example: a =  "" "hey, this is rishabh gupta and I will teach you python from scratch  enjoy the blog" "" print (a) output hey, this is rishabh gupta and I will teach you python from scratch  enjoy the blog Python ki string ek array jaise hoti hai iska mtlb ye hua ki hm python string ki indexing kr skte hai (indexing krne ka mtlb hua po