आज हम आप को बताऐगे कि python me 2 string ko concatenate kaise kare और concatenate क्या होता है जब आप python के बडे-बडे program लिखते है तो आप को 2 string या इस अधिक String को concatenate करना होता है चलिए जानते है 2 string ko concatenate कैसे करे
जब हम दो string को एक साथ जोडते है to उसे हम concatenate कहते है python मे string को जोडने के ले + का प्रयोग किया जाता है जैसे
first_name = "Byte"
last_name = "DG"
full_name = first_name + " " + last_name
print(full_name)आप इस program मे देख सकते है हमारे पास firest name और last name दोनो अलग अलग string है और इन दोनो को एक जगह जोडने के लिए हमने तीसरे variable बनाया है full name का इस मे हि हमने दोनो string को जोडा है और जो ये Double Quotes देये है यह दोनो string के बिच मे space देने के लिए दिये गये है इस प्रकार से आप कितनी भी String को concatenate कर सकते है
अब आप जान गये होगे कि python me 2 string ko concatenate kaise kare और concatenate क्या होता है अगर आप को अभी भी कोई सम्साया है तो आप content मे जाकर अपना comment डाल सकते है bytedg कि और से आप कि सम्साया का हल दिया जाऐगा