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
| import ast | |
| import random | |
| import string | |
| Ascii = ['q','w','r','t','y','p','s','d','f','g','h','j','k','l','z','x','c','v','b','n','m','a','e','i','o','u'] | |
| AppIsRunning = True | |
| encodeSTR = """ | |
| type ascii for standard english alphabet code, type a list \n | |
| (separated by commas like this: a,b,c,d,e,f,g e.t.c.) for a key containing custom characters \n:""" |
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
| import decimal as d | |
| # In minecraft, often times you want to build totally symmetrical and nice looking pillars on your structure. | |
| # This tells you how many blocks appart the pillars need to be for any given distance that you are doing the pillars along, | |
| # in blocks. | |
| gap_size = int(input("GapSize: ")) | |
| for inner_gap_size in range(1,gap_size): | |
| y = d.Decimal(gap_size - 1) / d.Decimal(inner_gap_size + 1) | |
| if y % 1 == 0: |
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
| import random | |
| consonants = ['q','w','r','t','y','p','s','d','f','g','h','j','k','l','z','x','c','v','b','n','m'] | |
| vowels = ['a','e','i','o','u'] | |
| app_is_running = True | |
| def rand_in_list(List): | |
| """ | |
| Fetches a random element in a list. | |
| """ |
NewerOlder