Skip to content

Instantly share code, notes, and snippets.

using System;
namespace MyHelloWorldApplication
{
class HelloWorld
{
static void Main(string[] args)
{
Console.WriteLine("Hello World");
}
#!/usr/bin/awk -f
# input format : student number, full name, e-mail
# output format : full name, user name, student number
# example :
# input : 09060286,"emre can yılmaz","[email protected]"
# output : "emre can yılmaz","canyilmaz",09060286
# usage :
# theme: moc_x
# [ecylmz](http://ecylmz.com)
background = white black
frame = white black
window_title = cyan black bold
directory = white black bold
selected_directory = cyan black bold
playlist = white black
selected_playlist = cyan black bold
#!/usr/bin/python
# -*- coding: utf-8 -*-
import doctest
def faktoriyel(sayi):
"""\
>>> faktoriyel(6)
720
"""
function [x, y] = Newton(fun, funpr, x1, tol, kmax)
% Input:
% fun function (inline function or m-file function)
% funpr derivative function (inline or m-file)
% x1 starting estimate
% tol allowable tolerance in computed zero
% kmax maximum number of iterations
% Output:
% x (row) vector of approximations to zero
% y (row) vector fun(x)x
def secim(x, y, z):
secimler = {
(0, 0, 0): "a : 0\nb : 0\nc : 0\nd : 0\ne : 0\nf : 0\ng : 0",
(0, 0, 1): "a : 1\nb : 0\nc : 0\nd : 0\ne : 0\nf : 0\ng : 0",
(0, 1, 0): "a : 0\nb : 1\nc : 0\nd : 0\ne : 0\nf : 0\ng : 0",
(0, 1, 1): "a : 0\nb : 0\nc : 1\nd : 0\ne : 0\nf : 0\ng : 0",
(1, 0, 0): "a : 0\nb : 0\nc : 0\nd : 1\ne : 0\nf : 0\ng : 0",
(1, 0, 1): "a : 0\nb : 0\nc : 0\nd : 0\ne : 1\nf : 0\ng : 0",
(1, 1, 0): "a : 0\nb : 0\nc : 0\nd : 0\ne : 0\nf : 1\ng : 0",
foo
#!/bin/bash
use std
PROGNAME=${0##*/}
ensuredeb wwwconfig-common
hascommand mysql || ensuredeb mysql-client
dbadmin=${WWWCONFIG_COMMON_DBADMIN:-root}
<?php
// hata raporlamayi kapa.
error_reporting(0);
try {
// json verisini decode et.
$payload = json_decode($_REQUEST['payload']);
}
catch(Exception $e) {

LABORATUVAR ÇALIŞMASI 2 - Değişkenler, Veri Girişi, Çevre & Alan Hesapları

Bu Çalışmanın Amacı

Bu çalışmadaki amacımız; değişken tanımlama, operatörler, veri girişi, çevre & alan hesapları ve doctest özelliğinin kullanımı konularında öğrendiklerimizi pekiştirmektir.

Değişken Tanımlama