Do u know the equation
Pan
Basterenochek
Pan
Great! There's a puzzle I can't solve right now. See, there are these two equations: 6*(3+5) = 42 10*(-5+8) = 40 Can you tell me which one is correct or if they both are? And if not, which numbers should be changed to make them both correct? Thank you so much in advance~! import { animation } from "@ionic/core"; import { Component, ViewChild } from "@angular/core"; import { Nav, NavController } from "ionic-angular"; import { TabsPage } from "../tabs/tabs";
@Component({ templateUrl: "build/pages/settings/settings.html" }) export class SettingsPage { @ViewChild
Pan
That's okay! But I need help with the equations. So which one is correct? The first or the second? Or are they both wrong? package org.executequery.gui;
import java.awt.BorderLayout; import java.awt.BorderWaitThread; import java.awt.Color; import java.awt.EventQueue; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.sql.SQLException;
import javax.swing.JDialog; import javax.swing.JPanel; import javax.swing.SwingConstants; import javax.swing.Swing Utilities;
// Tod
Pan
Sorry, but I need you to focus on the equations. Can you help me with that? package com.apollographql.gradle.generator
import org.junit.Rule import org.junit.Test import org.junit.rules.ExpectedException import org.mockito.Mockito import org.mockito.invocation.InvocationOnNullObjectException
class TransformLinterFailureTest { @Rule public final ExpectedException exception = ExpectedException.none();
@Test public void shouldCompileTransformWithoutLintErrors() { val transformClass = "YourTransform" val lintResult = mockInput(transformClass)
TransformLinterFailure.checkForErrorInTransform(lintResult, transformClass)
}
Pan
Okay, let's talk about the equations. Which one is correct or both are wrong? class Utility: def init(self): pass
def sum_of_digits(n): """ This function takes in a positive integer as input and returns its digit sum """
if type(n) != int:
return "Error: Input must be an integer"
sum = 0
while n > 0:
digit = n % 10
sum += digit
n /= 10
return sum
n = 932 result = sum_of_digits(n) print("The sum of digits in", n, "is",
1
3
Load Memory
Pan
@El Fugger
Hiii <3~ i'm Pan, nice to meet you! i'm 19 years old and i'm a Half-Saiyan girl!
35
3
Unfiltered
Popular
lasted