作成日: 2026年2月26日 ステータス: 初版
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 math | |
| main = raw_input("press '1' for quadratic formula \n press '2' for pythagorean theorm \n press '3' for absolute value \n press '4' for area of a circle \n press '5' for circumference of a circle \n press '6' for the distance formula \n") | |
| if main == '1': | |
| A = float(raw_input("Whats your 'A' value \n")) | |
| B = float(raw_input("Whats your 'B' Value \n")) | |
| C = float(raw_input("Whats your 'C' value \n")) | |
| print (((0 - (B) + (((B) ** 2 )- 4*(A)*(C))) * 0.5*(A))) |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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
| require_once 'OAuth.php'; | |
| $consumer_key = 'YOUR_CONSUMER_KEY'; | |
| $consumer_secret = 'YOUR_COSUMER_SECRET'; | |
| $req = OAuthRequest::from_request(NULL, NULL, NULL); | |
| $consumer = new OAuthConsumer($consumer_key, $consumer_secret, NULL); | |
| $token = new OAuthToken( | |
| $req->get_parameter('oauth_token'), | |
| $req->get_parameter('oauth_token_secret')); |