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
<HTML> | |
<HEAD> | |
<TITLE>Some more Hyperlinks</TITLE> | |
</HEAD> | |
<BODY> | |
As you guys know I have already created my 1st hyperlink. <BR> | |
here are more hyperlinks! | |
<A HREF = https://Scratch.mit.edu>Click here</A> <BR> | |
<A HREF = https://Youtube.com>Click here</A> <BR> | |
<A HREF = https://www.youtube.com/channel/UCzHg5mu_ErqwTbVL4egEYqQ/featured?view_as=subscriber>Sunscribe to my Channel!</A> <BR> |
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
# Definition OF Recusrsion | |
Recursion is a common mathematical and programming concept. It means that a function calls itself. This has the benefit of meaning that you can loop through data to reach a result. | |
The developer should be very careful with recursion as it can be quite easy to slip into writing a function which never terminates, or one that uses excess amounts of memory or processor power. However, when written correctly recursion can be a very efficient and mathematically-elegant approach to programming. | |
In this example, tri_recursion() is a function that we have defined to call itself ("recurse"). We use the k variable as the data, which decrements (-1) every time we recurse. The recursion ends when the condition is not greater than 0 (i.e. when it is 0). | |
To a new developer it can take some time to work out how exactly this works, best way to find out is by testing and modifying it. | |
Here"s An Example Code : | |
def tri_recursion(k): |
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
import time | |
import threading | |
from pynput.mouse import Button, Controller | |
from pynput.keyboard import Listener, KeyCode | |
delay = 0.001 | |
button = Button.left | |
start_stop_key = KeyCode(char='s') | |
exit_key = KeyCode(char='e') |
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
<HTML> | |
<HEAD> | |
<TITLE>Html</TITLE> | |
</HEAD> | |
<BODY> | |
Hello!this is my first web page. | |
</BODY> | |
</HTML> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<style> | |
html, body { | |
height: 100%; | |
margin: 0; | |
} | |
body { |
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
<HTML> | |
<HEAD> | |
<TITLE>Solar System</TITLE></HEAD> | |
<BODY BGCOLOR=ORANGE TEXT=BLACK TOPMARGIN=10 BOTTOMMARGIN =10 | |
LEFTMARGIN=10 RIGHTMARGIN=10> | |
<H1 ALIGN=CENTER>Solar System</H1> | |
<HR WIDTH=20% ALIGN CENTER COLOR=RED> | |
<HR SIZE=3 COLOR=BLUE> | |
The Sun,the eight planets with their satellites,and some other heavenly bodies like asteroids,meteors and comets | |
form the Solar System.The sun is at the centre of the solar system. |
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
<html> | |
<head> | |
<title>Flappy Bird</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | |
<link href='https://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet'> | |
<link href='https://fonts.googleapis.com/css?family=Permanent Marker' rel='stylesheet'> |