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
#include<iostream> | |
using namespace std; | |
struct node | |
{ | |
int info; | |
struct node *next; | |
}*start; | |
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 random as rand | |
def rand_char(): | |
c = chr(rand.randrange(97,122)) | |
return c | |
n = int(input("Enter length of pass:")) | |
for _ in range(5): | |
for __ in range(n): |
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
#include <iostream> | |
#include <cstdlib> | |
#include <ctime> | |
using namespace std; | |
char rand_char(); | |
int main() { | |
srand((int) time(0)); | |
int n; |
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> | |
<meta charset="UTF-8"> | |
<meta lang="en-us"> | |
<title>Abc</title> | |
</head> | |
<body> | |
<b>I am bold</b><hr> | |
<i>I am italic</i><hr> |
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
[ | |
{ | |
"actual population": { | |
"2001": "31,38,671", | |
"2003": "32,95,481", | |
"2005": "33,88,742", | |
"2007": "34,53,219", | |
"2009": "35,88,213", | |
"2011": "36,76,841" | |
}, |
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>Forms</title> | |
</head> | |
<body> | |
<form type="" action=""> | |
<input type = "text" placeholder="First Name" name="firstname" required><br> | |
<input type = "text" placeholder="Middle Name" name="middlename" required><br> | |
<input type = "text" placeholder="last Name" name="lastname" required><br> | |
<input type="password" placeholder="Password"><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
#include <iostream> | |
#include <cstring> | |
using namespace std; | |
struct node { | |
int info; | |
node * next; | |
}*start; |
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
#include <iostream> | |
using namespace std; | |
class queue { | |
int *arr; | |
int f,r, max; | |
public: | |
queue(int n) { |
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
#include <iostream> | |
#include <cstring> | |
using namespace std; | |
class stack { | |
int top; | |
int size; | |
int *arr; |
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
def mul(s): | |
l = len(s) | |
for i in range(2, l): | |
if l%i==0: | |
return(i) | |
break | |
else: | |
return 1 | |
s = input("Input String:") |
OlderNewer