Skip to content

Instantly share code, notes, and snippets.

#get dir from user and make the folders
import os
ans = input("Want to create dir? Press y for yes, n for no:")
if ans == 'y':
dir = input("Enter the dir:")
for i in range(65,91):
os.makedirs(dir + "\\" + chr(i))
for i in range(0,10):
os.makedirs(dir + "\\" + str(i))
else:
#include <iostream>
using namespace std;
class coordinate
{
private:
int feet,inch;
public:
coordinate(int a,int b)
{
#include <iostream>
using namespace std;
class coordinate
{
private:
int x,y,z;
public:
void set()
{
#include <iostream>
using namespace std;
class coordinate
{
private:
int x,y,z;
public:
void set()
{
#include <iostream>
using namespace std;
class coordinate
{
private:
int x,y,z;
public:
void set()
{
#include <iostream>
using namespace std;
class B;
class A {
private:
int x;
public:
A()
{
#include <iostream>
using namespace std;
class Q;
class P {
private:
int x;
public:
P()
{
#include <iostream>
using namespace std;
class N;
class M {
private:
int x;
public:
M()
{
#include <iostream>
using namespace std;
class coordinate
{
private:
int x,y,z;
public:
void set()
{
#include <iostream>
using namespace std;
class calc
{
int a,b;
public:
void getdata()
{
cout<<"Enter a:"<<endl;