Skip to content

Commit

Permalink
New file
Browse files Browse the repository at this point in the history
  • Loading branch information
neverfriendme committed Sep 24, 2024
1 parent f4e50c6 commit cc8cc9e
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 39 deletions.
15 changes: 15 additions & 0 deletions Files/Probability.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from random import randrange
import time
# by neverfriendme
def probability():
try:
Range = int(input("Range: 1 now enter your number:\n"))
if 1 == 1:
while True:
generate = randrange(1,Range)
time.sleep(1)
print(generate)
except ValueError:
print("Invalid Value")
return ValueError
probability()
38 changes: 0 additions & 38 deletions Files/reader.py

This file was deleted.

12 changes: 12 additions & 0 deletions Javascript.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<style>
.safety {
position:fixed;
}
</style>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta author="neverfriendme" content="author">
Expand All @@ -15,6 +20,13 @@ <h1 style="color:white;" id="JS">Javascript templates</h1>
<a onclick="Calculator()" style="color:blue;">Try basic prompt calculator now!</a>
<a onclick="template()" style="color: blue;">Try template.js now!</a>
<a href="Files/template.js">template.js</a>
<div class="safety"><span lang="en" style="color:white;">Javascript files need to be copied and pasted , why? For your safety of course.</span></div>
<style>
.safety {
padding-bottom: 200%;
padding-right: 50%;
}
</style>
<script src="needed/num1.js">
</script>
</body>
Expand Down
3 changes: 2 additions & 1 deletion Python.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ <h1 style="color:white;">Python templates</h1>
<a href="Files/Basic Terminal Calculator.py">Basic Terminal Calculator</a>
<a href="Files/Hour calculator.py">Minutes to hours</a>
<a href="Files/Speed.py">Speed</a>
<a href="Files/reader.py">reader</a>
<a href="Files/Probability.py">Probability</a>
<a href="Shape-maker/Shapemakerdownload.html">Shape-maker version 5</a>
<div class="safety"><span style="color:white;" lang="en">Be careful when downloading a python file. Do you need it? Is it malicous?</span></div>
</body>
</html>

0 comments on commit cc8cc9e

Please sign in to comment.