<commit_before><!DOCTYPE html><html>
<head>
	<title> Calculadora Práctica 7 </title>
	<meta charset="utf-8">

	<script type ="text/javascript">

	function vaciar(){
		document.getElementById("n1").value ="";
	}

	function cuadrado(){
		var num = document.getElementById("n1");
		num.value = num.value * num.value;
	}

	function cubo(){
		var num = document.getElementById("n1");
		num.value = Math.pow(num.value,3);
	}
	</script>

</head>
<body>
	Número:
	<input type="text" id="n1" onclick="vaciar()">
	<p>
	<button onclick="cuadrado()"> x<sup>2</sup></button>
	<button onclick="cubo()">x<sup>3</sup></button>
	</p>
</body>
</html><commit_msg>Integrar JS-HTML botón sqrt<commit_after><!DOCTYPE html><html>
<head>
	<title> Calculadora Práctica 7 </title>
	<meta charset="utf-8">

	<script type ="text/javascript">

	function vaciar(){
		document.getElementById("n1").value ="";
	}

	function cuadrado(){
		var num = document.getElementById("n1");
		num.value = num.value * num.value;
	}

<<<<<<< HEAD
	function cubo(){
		var num = document.getElementById("n1");
		num.value = Math.pow(num.value,3);
	}
=======
	function raiz(){
		var num =document.getElementById("n1");
		num.value = Math.sqrt(num.value);
	}

>>>>>>> 64623b5
	</script>

</head>
<body>
	Número:
	<input type="text" id="n1" onclick="vaciar()">
	<p>
	<button onclick="cuadrado()"> x<sup>2</sup></button>
<<<<<<< HEAD
	<button onclick="cubo()">x<sup>3</sup></button>
=======
	<button onclick="raiz()">sqrt(x)</button>
>>>>>>> 64623b5
	</p>
</body>
</html>
{'fraction_non_alphanumeric': 0.2323897300855826, 'fraction_numerical': 0.02040816326530612, 'mean_word_length': 4.914396887159533, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7411904', 'n_tokens_mistral': 628, 'n_tokens_neox': 584, 'n_words': 111}