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
from modul1 import * | |
print("modul1 import edildi") | |
print("a =",a, " b = ", b, " maas = ", maas) | |
from modul2 import * | |
print("modul2 import edildi") | |
print("a =",a, " b = ", b, " maas = ", maas) | |
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
Verify Github on Galaxy. gid:RZeVpR4AWmymAB46ULYPTJ |
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 uuid | |
from math import sqrt | |
import pprint | |
import random | |
class Nokta: | |
def __init__(self, x, y): | |
self.id = str(uuid.uuid4()) | |
self.x = x |
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; | |
/** | |
* Tek yonlu liste tanimi | |
*/ | |
struct Node { | |
int data; |
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 matplotlib.pyplot as plt | |
import librosa.display | |
import os | |
import glob | |
import numpy as np | |
#import pandas as pd | |
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas | |
import librosa | |
import sys |
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
from math import sqrt | |
class Nokta: | |
def __init__(self, x,y): | |
self.x1 = x | |
self.y1 = y | |
def __str__(self): | |
return f"{self.x1},{self.y1}" |
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 bessel_series(x, order): | |
if order == 1: | |
return 1 | |
sign = 1 | |
if (order % 2) == 0: | |
sign = -1 | |
top = x ** ((order * 2) -2 ) | |
bottom = 1 |
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
harita = open("hastamap.txt","r").readlines() | |
def ekle(girdidosyasi, id, ciktidosyasi): | |
satirlar = open(girdidosyasi, "r").readlines() | |
f = open(ciktidosyasi, "a") | |
for satir in satirlar: | |
f.write(f"{id},{satir}") | |
f.close() | |
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 math | |
class Nokta: | |
def __init__(self, x, y): | |
self.x = x | |
self.y = y | |
def __str__(self): | |
return f"({self.x},{self.y})" |
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 toplama(a,b): | |
return a+b | |
def carpma(a,b): | |
return a*b | |
class Komut: | |
def __init__(self): | |
self.liste = [] | |
self.func = None |
NewerOlder