This file contains hidden or 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
# Find the minimum number | |
x = min(5, 10, 25) | |
# Find the Maximum number | |
y = max(23455, 89000, 250000) | |
# Print the minimum and maximum | |
print(x) | |
print(y) |
This file contains hidden or 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> | |
<script src="myailib.js"></script> | |
<script src="myplotlib.js"></script> | |
<body> | |
<canvas id="myCanvas" width="400px" height="400px" style="width:100%;max-width:400px;border:1px solid black"></canvas> | |
<p>Train me to find the line of best fit:</p> | |
<p> | |
<button onclick="train(100)">100 times</button> | |
<button onclick="train(200)">200 times</button> |
This file contains hidden or 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</title> | |
</head> | |
<body> | |
<h1>This is a Heading</h1> | |
<p>This is a paragraph.</p> |
This file contains hidden or 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
#This will find the answer to 5+1 | |
5+1 | |
#This will show Hello Python | |
print ("Hello Python"); | |
# Insert Your Name | |
print ("Name") | |
# This is how to create integers | |
x = 1 | |
y = 35478 | |
Z = - 8977324 |
This file contains hidden or 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
alert("Roman Singh Deol") ; | |
document.write("Roman Singh Deol"); | |
console.log("Roman Singh Deol"); |