Home Programming Practice

Programming Practice

Python Split a string on the last occurrence of the delimiter

Python: Split a string on the last occurrence of the delimiter| split string last...

Write a python program to split a string on the last occurrence of the delimiter.Program:-str1 = "s,i,r,f,p,a,d,h,a,i" print(str1.rsplit(',' , 1) print(str1.rsplit(',' , 2) print(str1.rsplit(',' , 5)Output:-'s,i,r,f,p,a,d,h,a','i' 's,i,r,f,p,a,d,h', 'a','i' 's,i,r,f,p',...
simple interest program in c

simple interest program in c in hindi |Program to find the simple interest

simple interest program in c in hindiExplanationसाधारण ब्याज बैंकिंग और आर्थिक क्षेत्रों में ऋण पर ब्याज शुल्क की गणना के लिए उपयोग की जाने...
C++ प्रोग्राम दो नंबर स्वैप केसे करे

C++ प्रोग्राम दो नंबर स्वैप केसे करे | C++ Program to Swap Two Numbers...

C++ प्रोग्राम दो नंबर स्वैप केसे करेदो नंबरों को स्वैप करने के लिए प्रोग्राम बनाने के दो तरीके हैं। एक में एक अस्थायी चर...
Area of Triangle C++ Program in Hindi

Program to Accept value of base & height and Calculate Area of Triangle c++...

Area of Triangle C++ Program in Hindiसमस्या को समझना:-हमें एक ऐसा प्रोग्राम लिखना होता है जो यूजर से त्रिभुज की तीन भुजाओं को...
Program to find greatest of two numbers in c in hindi

Program to find greatest of two numbers in c in Hindi.

दी गई दो संख्याओं में से सबसे बड़ी संख्या ज्ञात करने के लिए C प्रोग्राम की चर्चा यहाँ की गई है। उपयोगकर्ता से दो...
Fibonacci series program in java

Fibonacci series program in Java

What is the Fibonacci series?A Fibonacci series is a set of numbers where, starting with the third number, each number is the sum of...
program in C to check given no is leap year or not in Hindi

leap year condition in Hindi |Write a program in C to check given no...

इस पोस्ट में, आप सी में अलग-अलग तरीकों से सीखेंगे, कि यह जांचने के लिए कि कोई विशेष वर्ष लीप वर्ष है या नहीं।एक...
Program to assign values of two numbers and print their addition

Program to assign values of two numbers and print their addition.

In this program we will learn how we can add two digits using C programming, for this we will first get the user to...
operator overloading in c++ full details

operator overloading in c++ example in hindi | operator overloading in c++ full details.

Operator overloading in C++ऑपरेटर ओवरलोडिंग एक संकलन-समय बहुरूपता है जिसमें उपयोगकर्ता द्वारा परिभाषित डेटा प्रकार को विशेष अर्थ प्रदान करने के लिए ऑपरेटर को...
C++ Check if the number is Positive or Negative Program in hindi

C++ Check if the number is Positive or Negative Program in hindi

C++ Check if the number is Positive or Negative Program in hindiसभी को नमस्कार!इस ट्यूटोरियल में, हम सीखेंगे कि C++ प्रोग्रामिंग भाषा में यह...