4 questions
Is there a method like java's contents or indexOf?I'm going to write it like this.if not somestring.contains (String to Find): continue
my_list = ['abc-123', 'def-456', 'ghi-789', 'abc-456']How do I find out if there is an 'abc' in the list from the same list?What I know is that list items like 'abc-123' and 'abc-456' have to match ex...
import reBefore_str = The name is Chul-soo Kim, the phone number is 010-0000:0000, and the place to make a reservation is Wolha Village. The number of people is nine. The date is 2019-11-11after_str =...
package assignment2;import java.util.Scanner;import java.util.Arrays;public class assign3 { public static void main(String[] args) { int n; int m; Scanner scan = new Scanner(System.in); System.out...
© 2024 OneMinuteCode. All rights reserved.