SUMMARY OF LESS COMMANDS
Commands marked with * may be preceded by a number, N.
Notes in parentheses indicate the behavior if N is given.
A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K.
h H Display this help.
q :q Q :Q ZZ Exit.
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
# from math import sqrt | |
class Point: | |
def __init__(self, X, y): | |
self.X = X | |
self.y = y | |
def shift(self, X = 0, y = 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
import sys | |
from time import sleep | |
### Function that adds 1 to integer or float, not text | |
def Add_One(n): | |
return n + 1 | |
### Function that determines input type and spits out designated result | |
def Calc_Number(num): | |
if num.find('.') != -1: |