- Arithmetic Formatter (GitHub Issue)
- Time Calculator (GitHub Issue)
- Budget App (GitHub Issue)
- Polygon Area Calculator (GitHub Issue)
- Probability Calculator (GitHub Issue)
- Mean-Variance-Standard Deviation Calculator (GitHub Issue)
- [Demographic Data A
In this challenge you must anaylize demographic data using Pandas. You are given a dataset of demographic data. Here is a sample of what the data looks like:
age workclass fnlwgt education education-num marital-status ... sex capital-gain capital-loss hours-per-week native-country salary
0 39 State-gov 77516 Bachelors 13 Never-married ... Male 2174 0 40 United-States <=50K
1 50 Self-emp-not-inc 83311 Bachelors 13 Married-civ-spouse ... Male 0 0 13 United-States <=50K
2 38 Private 215646 HS-grad 9 Divorced ... Male 0 0 40 United-States <=50K
Create a function named mean_var_std() that uses Numpy to output the mean,
variance, and standard deviation of a 3 x 3 matrix. The input of the function
should be a list containing 9 digits. The function should convert the list
into a 3 x 3 Numpy array, and then print the mean, variance, and standard
deviation along both axis and for the flattened matrix.
For example:
mean_var_std([0,1,2,3,4,5,6,7,8])
| import sqlite3 | |
| class ContactDatabase(object): | |
| def __init__(self, filename="example-contactbook.db"): | |
| self.dbfilename = filename | |
| db = sqlite3.connect(self.dbfilename) | |
| c = db.cursor() | |
| c.execute( | |
| "CREATE TABLE IF NOT EXISTS contacts\ | |
| ( name TEXT PRIMARY KEY, \ |
| import random | |
| class Card: | |
| def __init__(self, suit, rank): | |
| self.suit = suit | |
| self.rank = rank | |
| def __str__(self): | |
| return f"{self.rank['rank']} of {self.suit}" |
| 1. [HTML+CSS] Responsive Web Design | |
| ⭐️ PRACTICE PROJECTS ⭐️ | |
| - Learn Basic HTML by Building a Cat Photo App | |
| - Learn Basic CSS by Building a Blog | |
| - Learn Intermediate CSS by Building a Picasso Painting | |
| - Learn the CSS Box Model by Building a Rothko Painting | |
| - Learn CSS Variables by Building a City Skyline | |
| - Learn CSS Animations by Building a Ferris Wheel | |
| - Learn Typography by Building a Nutrition Label | |
| - Learn Accessibility by Building a User Feedback Survey |
| 1. [HTML+CSS] Responsive Web Design | |
| ⭐️ PRACTICE PROJECTS ⭐️ | |
| - Learn Basic HTML by Building a Cat Photo App | |
| - Learn Basic CSS by Building a Blog | |
| - Learn Intermediate CSS by Building a Picasso Painting | |
| - Learn the CSS Box Model by Building a Rothko Painting | |
| - Learn CSS Variables by Building a City Skyline | |
| - Learn CSS Animations by Building a Ferris Wheel | |
| - Learn Typography by Building a Nutrition Label | |
| - Learn Accessibility by Building a User Feedback Survey |
| import random | |
| class Card: | |
| def __init__(self, suit, rank): | |
| self.suit = suit | |
| self.rank = rank | |
| def __str__(self): | |
| return f"{self.rank['rank']} of {self.suit}" |
| 8. [Python] Object Oriented Programming in Python | |
| • Learn Python Basics by Building a Blackjack Game | |
| • Learn Intermediate Python by Building a Contact Book Program | |
| • Learn Object Oriented Programming by Building a Minesweeper Game | |
| • Learn Recursion by Solving the Tower of Hanoi Puzzle | |
| • Required Project: Pig Latin Translator | |
| • Required Project: Time Calculator | |
| • Required Project: Stack Calculator | |
| • Required Project: Budgeting App (using Object Oriented Programming) | |
| • Required Project: Area Calculator for Rectangles and Squares (using Object Oriented Programming) |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <title>freeCodeCamp.org</title> |