This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
transform.Rotate(Vector3.up, angulo); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print(numeros_palindromos(100, 200)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def es_palindromo(num): | |
return str(num) == str(num)[::-1] | |
def numeros_palindromos(minimo, maximo): | |
palindromos = [] | |
for num in range(minimo, maximo+1): | |
if es_palindromo(num): | |
palindromos.append(num) | |
return palindromos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let resultado = 3 * 123 * 100 * 50 / 2.5; | |
console.log(resultado); // Output: 738000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let resultado = 3 * 123 * 100 * 50; | |
console.log(resultado); // Output: 1845000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let resultado = 3 * 123 * 100; | |
console.log(resultado); // Output: 36900 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let resultado = 3 * 123; | |
console.log(resultado); // Output: 369 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"testRunner": "jest", | |
"runnerConfig": "e2e/config.json", | |
"apps": { | |
"ios.debug": { | |
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/<<name>>.app", | |
"build": "xcodebuild -workspace ios/<<name>>.xcworkspace -scheme <<scheme>> -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build ONLY_ACTIVE_ARCH=YES -quiet", | |
"type": "ios.app" | |
}, | |
"ios.release": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class PlayerMovement : MonoBehaviour | |
{ | |
[SerializeField] private float speed = 10f; | |
[SerializeField] private float jumpHeight = 10f; | |
[SerializeField] private float gravity = -9.81f; | |
[SerializeField] private float groundDistance = 0.4f; | |
[SerializeField] private float runSpeed = 20f; | |
[SerializeField] private Transform groundCheck; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Extract the body of the hmtl page | |
* @param {string} html full html of the page | |
*/ | |
export const extractBody = (html) => { | |
const startIndex = html.indexOf('<body>'); | |
const endIndex = html.indexOf('</body>'); | |
return html.substring(startIndex, endIndex); | |
}; |
NewerOlder