This file contains hidden or 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
# 2048 in Python 3 for Beginners (Alpha Version) | |
# By @TokyoEdTech | |
import turtle | |
import random | |
# Set up the screen | |
wn = turtle.Screen() | |
wn.title("2048 by @TokyoEdTech") | |
wn.bgcolor("black") |
This file contains hidden or 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
#Asteroids by @TokyoEdTech / Written in Python 3.5 | |
#Part 0: Finished Demo | |
import os | |
import random | |
import time | |
import math | |
#Import the Turtle module | |
import turtle |
This file contains hidden or 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
# http://christianthompson.com | |
# Twitter: @tokyoedtech | |
# Welcome to my "office hours" for October 10, 2019. | |
# If you have any Python questions - ask in chat | |
# Please provide any code via pastebin.com link | |
# OS: Ubuntu Linux 19.04 | |
# Programming Editor: Geany |
This file contains hidden or 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
# Finding Patterns | |
import os | |
os.system("clear") | |
# 1 | |
print(1) | |
print(2) | |
print(3) | |
print(4) | |
print(5) |
This file contains hidden or 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
// Java Loop Challenge 1 | |
// By @TokyoEdtech | |
class JavaLoopChallenge1 | |
{ | |
public static void main(String[] args) | |
{ | |
String text = ""; | |
String letter = ""; | |
System.out.println("\n\n1."); |
This file contains hidden or 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
// Java Loop Challenge 2 | |
// By @TokyoEdtech | |
class JavaLoopChallenge2 | |
{ | |
public static void main(String[] args) | |
{ | |
System.out.println("\n\n1."); | |
// Create a loop to print the numbers 1 to 10 inclusive | |
OlderNewer