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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Vinko Groznik - Fakebook</title> | |
<style> | |
img { | |
position: absolute; | |
} | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="description" content="Vinko Groznik - Fakebook osebna stran // USTVARI SI SVOJ FAKEBOOK PROFIL ŠE DANES"> | |
<meta name="keywords" content="Vinko, Groznik, Fakebook"> | |
<meta name="author" content="Miha Pleskovič"> | |
<link type="text/css" rel="stylesheet" href="style.css"> | |
<title>Vinko Groznik - Fakebook</title> | |
</head> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<link type="text/css" rel="stylesheet" href="style.css"> | |
<title>Fake Google</title> | |
</head> | |
<body> | |
<div class="top"> | |
<a href="#">Gmail</a> |
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
# -*- coding: utf-8 -*- | |
number = "42" | |
def language(): | |
lang = raw_input("Choose your language (1 - English | 2 - Slovenian): ").lower() | |
if lang == "1" or lang == "english": | |
play() | |
elif lang == "2" or lang == "slovenian": | |
igra() |
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
# -*- coding: utf-8 -*- | |
def converter(): | |
choice1 = raw_input("Which measurements you wish to choose? (1 - Length | 2 - Volume) ") | |
if choice1 == "1": | |
length_converter() | |
elif choice1 == "2": | |
volume_converter() | |
else: |
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
# -*- coding: utf-8 -*- | |
def fb_en(): | |
print "Welcome to FIZZBUZZ!" | |
print "" | |
while True: | |
tutorial = raw_input("Would you like a tutorial? (1 - yes | 2 - no) ") | |
if tutorial == "1": | |
print "FIZZBUZZ is really simple." | |
print "1. Type in a number between 1 and 100." |
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
# -*- coding: utf-8 -*- | |
# ENTERS A NEW DISH | |
def new_dish(): | |
print "Vnesite željeno jed:" | |
dish = raw_input("").lower() | |
print "" | |
print "Vnesite ceno jedi:" | |
price = raw_input("") | |
print "" |
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
# -*- coding: utf-8 -*- | |
from random import randint | |
# QUITS THE GAME | |
def shut_down(): | |
print "The real secret number is still out there ..." | |
quit() | |
# TUTORIAL | |
def tutorial(): |
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
# -*- coding: utf-8 -*- | |
import fileinput | |
try: | |
vehicles_file = open("vehicles.txt", "r") | |
except: | |
vehicles_file = open("vehicles.txt", "w+") | |
vehicles_file.close() | |
print "" |
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
# -*- coding: utf-8 -*- | |
hair_color = {"black": "CCAGCAATCGC", | |
"brown": "GCCAGTGCCG", | |
"blonde": "TTAGCTATCGC"} | |
face_shape = {"square": "GCCACGG", | |
"round": "ACCACAA", | |
"oval": "AGGCCTCA"} |
OlderNewer