[ create a new paste ] login | about

Saumya_Agnihotri

Name: Saumya Agnihotri
Email:
Site/Blog: https://scnb93.wixsite.com/codeticks/blog
Location: Kanpur
Default language: Python
Favorite languages: Python, C, C++, Java
About: Addicted to coding!

Saved pastes by Saumya_Agnihotri:

Python, pasted on Oct 14:
1
2
3
4
5
import string
from random import *

characters = string.ascii_letters + string.punctuation + string.digits
password = "".join(choice(characters) for x in range(randint(8,16)))
...
view (6 lines, 1 line of output)
Python, pasted on Jul 4:
1
2
3
4
5
from bs4 import BeautifulSoup
from urllib.request import urlopen

html = urlopen("https://github.com/").read().decode('utf-8')
print(html)
...
view (8 lines, 4 lines of output)
C++, pasted on Jul 4:
1
2
3
4
5
#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n1,n2,n3, i,input, c;
...
view (44 lines, 4 lines of output)
Python, pasted on Jul 3:
1
2
3
from urllib.request import urlopen
html = urlopen('http://localhost:8888/tree').read().decode('utf-8')
print(html)
...
view (14 lines, 4 lines of output)
C++, pasted on Jul 3:
1
2
3
4
5
#include<bits/stdc++.h>
using namespace std;

int main () {
   
...
view (21 lines, 4 lines of output)
C++, pasted on Jul 3:
1
2
3
4
5
#include<bits/stdc++.h>
using namespace std;

bool myfunction (int i, int j) {
  return (i==j);
...
view (35 lines, 1 line of output)
C++, pasted on Jun 18:
1
2
3
4
5
#include <iostream>

using namespace std;

int main() {
...
view (47 lines, 5970 lines of output)
C++, pasted on Jun 15:
1
2
3
4
5
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
      ios_base::sync_with_stdio(false);
...
view (40 lines, 1 line of output)
C++, pasted on Jun 11:
1
2
3
4
#include<bits/stdc++.h>

/* Array Traversal */
using namespace std;
...
view (20 lines, 1 line of output)
C, pasted on May 11:
1
2
3
4
5
#include<stdio.h>
#include<math.h>
int main()
{
    int i,j, num, c =0;
...
view (26 lines)
Python, pasted on May 10:
1
2
3
4
5
s = input()

def remove(s,i):
    print("removal of",s[i])
    str = s.replace(s[i],"")
...
view (14 lines, 4 lines of output)