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
| #include<iostream> | |
| #include<math.h> | |
| using namespace std; | |
| class calc{ | |
| public: | |
| void addition(){ | |
| char ch; | |
| double a, sum=0; | |
| do{ | |
| cout<<"\n\tEnter a number => "; |
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
| import time | |
| from playsound import playsound | |
| import os | |
| from os import system | |
| filename = os.listdir() | |
| songs = [] | |
| for file in filename: | |
| if '.mp3' in file: | |
| songs.append(file) |
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
| String url = "jdbc:mysql://localhost:3306/testdb?useSSL=false"; | |
| String user = ""; | |
| String password = ""; | |
| String author = "me"; | |
| String sql = "UPDATE table_name SET name = name1, email = email1, ...WHERE condition;"; | |
| try (Connection con = DriverManager.getConnection(url, user, password); | |
| PreparedStatement pst = con.prepareStatement(sql)) { |
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
| Just a normal script to truncate all numbers and special characters and allow only spaces and alphabets. |
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
| import csv | |
| names = [] | |
| emails = [] | |
| phoneNumbers = [] | |
| year = [] | |
| department = [] | |
| teamInterested = [] | |
| with open("data.csv", "r") as file: | |
| row = csv.DictReader(file) |
Works as a basic downloader where you specify the link of the page from multiple files have to be downloaded. Using that page as reference, you specify the type of files that have to be downloaded (for example, pptx / mp3 / mp4). The downloader does the rest for you.
README.mdmain.pyrequirements.txt
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
| import 'package:flutter/material.dart'; | |
| void main(){ | |
| runApp( | |
| MaterialApp( | |
| debugShowCheckedModeBanner: false, | |
| home: HomeScreen(), | |
| ) | |
| ); | |
| } |
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 17 columns, instead of 7 in line 8.
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
| Couple,Season,Location,Name,Age,Gender,Occupation,Decision,Status,DrPepperSchwartz,DrLoganLevkoff,DrJosephCilona,ChaplainGregEpstein,PastorCalvinRoberson,RachelDeAlto,DrJessicaGriffin,DrVivianaColes | |
| 1,1,New York City and Northern New Jersey,Jamie Otis-Hehner,27,F,Nurse,Yes,Married,1,1,1,1,0,0,0,0 | |
| 1,1,New York City and Northern New Jersey,Doug Hehner,31,M,Software salesman,Yes,Married,1,1,1,1,0,0,0,0 | |
| 2,1,New York City and Northern New Jersey,Cortney Hendrix,26,F,Make-up artist,Yes,Divorced,1,1,1,1,0,0,0,0 | |
| 2,1,New York City and Northern New Jersey,Jason Carrion,27,M,Fireman,Yes,Divorced,1,1,1,1,0,0,0,0 | |
| 3,1,New York City and Northern New Jersey,Monet Bell,33,F,Product development manager,No,Divorced,1,1,1,1,0,0,0,0 | |
| 3,1,New York City and Northern New Jersey,Vaughn Copeland,30,M,Field service technician,No,Divorced,1,1,1,1,0,0,0,0 | |
| 4,2,New York City and Northern New Jersey,Jaclyn Methuen,30,F,Vodka saleswoman,Yes,Divorced,1,1,1,1,0,0,0,0 | |
| 4,2,New York City and Northern New Jersey,Ryan Ranellone,28,M,Real estate agen |
OlderNewer