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
| # Contributing License Agreement (CLA) | |
| Thank you for contributing to this project! | |
| By submitting a pull request (PR) to this repository, you agree to the following: | |
| 1. **You are the original author of the contribution** or have the right to submit it. | |
| 2. **You grant this repository permission to use your contribution** under the same license as the project (MIT). | |
| 3. **You understand that your contribution may be shared publicly** as part of this open-source project. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| const stocks = [ | |
| 'A - Agilent Technologies', | |
| 'AA - Alcoa', | |
| 'AAL - American Airlines', | |
| 'AAP - Advance Auto Parts', | |
| 'AAPL - Apple', | |
| 'AAXJ - MSCI All Country Asia ex Japan', | |
| 'ABBV - AbbVie', | |
| 'ABC - AmerisourceBergen', | |
| 'ABCL - AbCellera Biologics', |
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
| # My second calculator | |
| print('Calculator loading... please wait') | |
| add = {i:{j:i+j for j in range(1000)} for i in range(1000)} | |
| sub = {i:{j:i-j for j in range(1000)} for i in range(1000)} | |
| mult = {i:{j:i*j for j in range(1000)} for i in range(1000)} | |
| div = {i:{j:i/j for j in range(1,1000)} for i in range(1000)} | |
| print(''' | |
| Welcome to my calculator! | |
| Please make a selection |
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 os | |
| import random | |
| import logging | |
| import pygame | |
| from discord.ext import commands | |
| files = ['./claps/'+f for f in os.listdir('./claps')] | |
| pygame.mixer.init() | |
| pygame.init() |