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
class Phone: | |
def __init__(self, hardware, cover): | |
self.hardware = hardware | |
self.cover = cover | |
def createPythonDoc(): | |
PythonDoc = open("doc.py", "w") | |
PythonDoc.write("") |
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
loop = 1 | |
while (loop < 10): | |
# All the questions that the program asks the user | |
noun = input("Choose your noun: ") | |
p_noun = input("Choose your plural noun: ") | |
noun2 = input("Choose your noun: ") | |
place = input("Name your place: ") | |
adjective = input("Choose your adjective (Describing word): ") |
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 time | |
import sys | |
name = input("Enter your name: ") | |
print("Hello " + name + ", welcome to your adventure in the cave.") | |
time.sleep(2) | |
start = input("Do you want to start the game? (y/n): ") |
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
#smashedfrenzy16's snake game | |
import pygame | |
import time | |
import random | |
pygame.init() | |
white = (255, 255, 255) | |
yellow = (255, 255, 102) | |
black = (0, 0, 0) |
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
lower = 0 | |
upper = 300 | |
step = 20 | |
fahr = lower | |
while(fahr <= upper): | |
celcius = (5.0/9.0) * (fahr-32.0) | |
print(fahr, celcius) | |
fahr = fahr + step |
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
name = input("Enter your name: ") | |
dob = input("Enter your Date of Birth: ") | |
address = input("Enter your address: ") | |
pg = input("Enter your Personal Goals: ") | |
print("Name: {}".format(name)) |
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
print("What's on you mind today?") | |
response = input("Enter your response: ") | |
words_split = response.split() | |
word_count = len(words_split) | |
print("Wow, you just answered me in {}".format((word_count)),"words!") |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta http-equiv="X-UA-Compatible" content="IE=11"> | |
<meta http-equiv="X-UA-Compatible" content="IE=10"> | |
<meta http-equiv="X-UA-Compatible" content="IE=9"> | |
<meta http-equiv="X-UA-Compatible" content="IE=8"> |
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 turtle | |
s = turtle.Screen() | |
t = turtle.Turtle() | |
s.title("Russian Flag") | |
s.setup(width=800, height=600) | |
# Title on the window | |
pen = turtle.Turtle() |
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
bl_info = { | |
"name" : "test", | |
"author" : "SmashedFrenzy16", | |
"description" : "Test Blender Addon", | |
"blender" : (2, 80, 0), | |
"version" : (0, 0, 1), | |
"location" : "View3D", | |
"warning" : "", | |
"category" : "Generic" | |
} |
OlderNewer