diff --git a/OrbitRotationAnimation.html b/OrbitRotationAnimation.html new file mode 100644 index 00000000..b276e544 --- /dev/null +++ b/OrbitRotationAnimation.html @@ -0,0 +1,48 @@ + + + + + + Orbit Rotation + + + +
+
+
+ + \ No newline at end of file diff --git a/RandomNumberGuesssinGame.py b/RandomNumberGuesssinGame.py new file mode 100644 index 00000000..2cf7cc82 --- /dev/null +++ b/RandomNumberGuesssinGame.py @@ -0,0 +1,20 @@ +import random + +secret_num = random.randint(1, 100) + +print("Welcome to 'Guess the Number Game'!") +print("I'm thinking of a number between 1 and 100.") + +guess = None +attempt = 0 + +while guess != secret_num: + guess = int(input("Take a guess: ")) + attempt += 1 + + if guess < secret_num: + print("Number is too small! Try again.") + elif guess > secret_num: + print("Number is too big! Try again.") + else: + print(f"Congratulations! You guessed it in {attempt} attempts!") \ No newline at end of file