I hereby claim:
- I am neyt on github.
- I am ney (https://keybase.io/ney) on keybase.
- I have a public key whose fingerprint is B42E 0066 2C4B 81CB 9847 15B3 2076 AAC1 625A BACE
To claim this, I am signing this object:
#this version will try to use not global a parameter for option1 | |
#C:\Users\Ney\Google Drive\Time Mastery\Education\Udacity\Nanodegree in programing\Intro to Programming Nanodegree\.git\2) Stage 2 Code Your Own Quiz\1.py | |
#Instructions: | |
#For this project, you'll be building a fill-in-the-blanks quiz. | |
#Your quiz will prompt a user with a sentence containing several blanks. | |
#The user should then be asked to fill in each blank appropriately to complete the sentence. This can be used as a study tool to help you remember important vocabulary! | |
#Note: Your game will have to accept user input so, like the Mad Libs generator, you won't be able to run it using Sublime's Build feature. Instead you'll need to run the program in Terminal or IDLE. Refer to Work Session 5 if you need a refresher on how to do this. |
#this version will try to use not global a parameter for option1 | |
#C:\Users\Ney\Google Drive\Time Mastery\Education\Udacity\Nanodegree in programing\Intro to Programming Nanodegree\.git\2) Stage 2 Code Your Own Quiz\1.py | |
#Instructions: | |
#For this project, you'll be building a fill-in-the-blanks quiz. | |
#Your quiz will prompt a user with a sentence containing several blanks. | |
#The user should then be asked to fill in each blank appropriately to complete the sentence. This can be used as a study tool to help you remember important vocabulary! |
import random | |
option1 = 0 | |
lengthoflisteasy = 0 | |
counter1 = 0 | |
current = "\n The Current paragraph reads as such:" | |
parragraph1 = "\n\n Python For Beginners. Welcome! Are you completely new to programming? If not then we presume you will be looking for information about why and how to get started with Python. Fortunately an experienced programmer in any programming language (whatever it may be ) can pick up Python very quickly. It's also easy for beginners to use and learn, so jump in!\n\n" | |
parragraph2 = "\n\n Installing Python is generally easy, and nowadays many Linux and UNIX distributions include a recent Python. Even some Windows computers (notably those from HP) now come with Python already installed. If you do need to install Python and aren't confident about the task you can find a few notes on the BeginnersGuide/Download wiki page, but installation is unremarkable on most platforms.\n\n" | |
parragraph3 = "\n\n Looking for Something Specific? If you want to know whether a particular application, or a libra |
playerID,birthYear,birthMonth,birthDay,birthCountry,birthState,birthCity,deathYear,deathMonth,deathDay,deathCountry,deathState,deathCity,nameFirst,nameLast,nameGiven,weight,height,bats,throws,debut,finalGame,retroID,bbrefID | |
aardsda01,1981,12,27,USA,CO,Denver,,,,,,,David,Aardsma,David Allan,220,75,R,R,2004-04-06,2015-08-23,aardd001,aardsda01 | |
aaronha01,1934,2,5,USA,AL,Mobile,,,,,,,Hank,Aaron,Henry Louis,180,72,R,R,1954-04-13,1976-10-03,aaroh101,aaronha01 | |
aaronto01,1939,8,5,USA,AL,Mobile,1984,8,16,USA,GA,Atlanta,Tommie,Aaron,Tommie Lee,190,75,R,R,1962-04-10,1971-09-26,aarot101,aaronto01 | |
aasedo01,1954,9,8,USA,CA,Orange,,,,,,,Don,Aase,Donald William,190,75,R,R,1977-07-26,1990-10-03,aased001,aasedo01 | |
abadan01,1972,8,25,USA,FL,Palm Beach,,,,,,,Andy,Abad,Fausto Andres,184,73,L,L,2001-09-10,2006-04-13,abada001,abadan01 | |
abadfe01,1985,12,17,D.R.,La Romana,La Romana,,,,,,,Fernando,Abad,Fernando Antonio,220,73,L,L,2010-07-28,2015-10-03,abadf001,abadfe01 | |
abadijo01,1854,11,4,USA,PA,Philadelphia,1905,5,17,USA,NJ,Pemberton,Jo |
#intro video: https://youtu.be/axn-ni_NFoo?t=17 | |
#class url: https://classroom.udacity.com/courses/ud299/lessons/4378692847/concepts/48114089370923 | |
install vagrant #its a linux distribution for servers | |
pwd - confirms your working directory | |
/ - root #shows the root file | |
cd / #sends you to root | |
ls - list #shows a list |
#this program imports a library called twilio that allows you to send text messages just like celphones through a python program. not available in everycountry thouhg | |
# -*- coding: utf-8 -*- | |
""" | |
Spyder Editor | |
This is a temporary script file. | |
""" | |
from twilio.rest import TwilioRestClient | |
account_sid = "{{ account_sid }}" # Your Account SID from www.twilio.com/console |
#this is the text acording to the difficulty level | |
easy = ''' | |
Python is a widely used high-level, general purpose, interpreted, | |
dynamic programming language.Its design philosophy emphasizes code | |
readability... -https://en.wikipedia.org/wiki/Python_(programming_language) | |
''' | |
medium =''' | |
Python supports multiple programming paradigms, including | |
object-oriented, imperative and procedural | |
styles. It features a dynamic type system and automatic memory |
# Hypotesis: | |
### 1) Is being born early in the year an advantage to make it to the big leage? | |
### 2) Whats the most likely state to create Pro Baseball player? | |
### 3) Do they move on their retirement? Death state | |
### 4) whats the average weight? | |
### 5) HOw long where their pro carrers? | |
(findings are tentative only) | |
#First import libraies | |
import numpy as np | |
import pandas as pd |
<LinearLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:paddingLeft="16dp" | |
android:paddingRight="16dp" | |
android:paddingTop="16dp" | |
android:paddingBottom="16dp" | |
android:orientation="vertical"> |
I hereby claim:
To claim this, I am signing this object: