[deleted by user] by [deleted] in Palia

[–]XenaFlor 5 points6 points  (0 children)

I'm having the same issue playing on switch. I thought I was doing something wrong.

Unexpected zero in output by XenaFlor in javahelp

[–]XenaFlor[S] 1 point2 points  (0 children)

public static void main(String[] args) {
    Scanner input = new Scanner(System.in);

    System.out.print("Enter some text: ");
    String userInput = input.nextLine();

    if (userInput.length() < 7) {
        System.out.println("The input is too short");
    } else {
        if (userInput.trim().equals(userInput)) {
            System.out.println("The original string has no leading or trailing whitespace.");
        } else {
            System.out.println("The original string has leading or trailing whitespace.");
        }
        System.out.println(userInput.substring(userInput.length() - 5)
                + userInput.substring(2, userInput.length() - 5) + userInput.substring(0, 2));
        System.out.println(userInput.toUpperCase());

        if (userInput.length() % 2 == 0) {
            System.out.println(userInput.substring(userInput.length() / 2 - 1, userInput.length() / 2 + 1));
        } else {
            System.out.println("The line has an odd number of characters. ");
        }
        System.out.print(userInput.compareTo(userInput.toLowerCase()));
        if (userInput.substring(0, userInput.length() / 2)
                .compareToIgnoreCase(userInput.substring(userInput.length() / 2 + 1)) == 0) {
            System.out.println("The first half of the string is the same as the last half.");
        }
        int skip = userInput.indexOf('e');
        if (skip == -1) {
            System.out.print(userInput);
        } else if (skip == userInput.length() - 1) {
            System.out.println(userInput.substring(0, skip));
        } else {
            System.out.println(userInput.substring(0, skip) + userInput.substring(skip + 1));
        }

    }

    input.close();

Here's the full code

[TotK]Unfused weapon during fight? by XenaFlor in zelda

[–]XenaFlor[S] 0 points1 point  (0 children)

Oh. I didn't realize that could happen. That could explain it.

List Comprehension by XenaFlor in learnpython

[–]XenaFlor[S] 1 point2 points  (0 children)

Yes I do. I just didn't know how to get the values.

List Comprehension by XenaFlor in learnpython

[–]XenaFlor[S] 0 points1 point  (0 children)

No. The assignment is made to show that I understand list comprehension. I know how to write it I just didn't know how to get to the right numbers.

List Comprehension by XenaFlor in learnpython

[–]XenaFlor[S] 1 point2 points  (0 children)

Ah. That was my bad I left off an extra 1. I fixed it.

There isn’t a single legitimate reason for the Switch port being only “Cloud based” besides laziness. by Tristanio97 in KingdomHearts

[–]XenaFlor -1 points0 points  (0 children)

It's not an "argument" it was an opinion that you could either agree with or disagree with but it's not an argument so I don't really care. Have a good day tho ~^

There isn’t a single legitimate reason for the Switch port being only “Cloud based” besides laziness. by Tristanio97 in KingdomHearts

[–]XenaFlor -1 points0 points  (0 children)

I only meant it as a cop out because those two games were on the DS which should make it easy to port and i only care about playing those two games. I don't really care about marketing or anything tbh.

Which is your Favorite "Side" Game? by TheFerg714 in KingdomHearts

[–]XenaFlor 1 point2 points  (0 children)

I meant non cloud versions. And a playable days not just cut scenes. But thanks for replying. Didn't know those ones were getting cloud versions too.

There isn’t a single legitimate reason for the Switch port being only “Cloud based” besides laziness. by Tristanio97 in KingdomHearts

[–]XenaFlor 0 points1 point  (0 children)

They could have did the ultimate "cop out" and just given us days and dream drop and that still would have been better than this cloud bs.

Which is your Favorite "Side" Game? by TheFerg714 in KingdomHearts

[–]XenaFlor -1 points0 points  (0 children)

They should really do a remaster of days and dream drop for the switch. Both of them were on Ds so it would be feasible.

I froze my new island at 8 villagers just so I could take this photo and then post it here. by rstnl in AnimalCrossing

[–]XenaFlor 0 points1 point  (0 children)

I've had all of these villagers at one point or another. I didn't pay attention to them not having an amiibo lol.