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 os | |
# Changes Directory to Where the File is Saved. | |
os.chdir(os.path.dirname(os.path.abspath(__file__))) |
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 | |
# The Aim of this Code is to Help Anyone Understand how Arrays, User Input, Validation, and Custom Errors work. | |
# Take a Look Around and Try Understanding What Each Part Does. | |
# Vars | |
grid = [ | |
["X", "X", "X", "X"], | |
["X", "X", "X", "X"], | |
["X", "X", "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
## Configuration File for GNU nano Text Editor. | |
## System-Wide Config File Located at: /etc/nanorc | |
## This File Should be Located at ~/.config/nano/nanorc or ~/.nanorc | |
## Show Line Numbers on the Side. | |
set linenumbers | |
## Enable Word Wrapping. | |
set softwrap |
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
# Bank Simulator | |
# A Flexible Command Input OOP | |
# Use this as an Example to make Your Command-Input-Style Code | |
import time | |
import sys | |
Money = 0 | |
# List of Functions to Execute | |
class BankCommands(): |