Skip to content

Instantly share code, notes, and snippets.

View santiagobasulto's full-sized avatar

Santiago Basulto santiagobasulto

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React!</title>
</head>
<body>
<!-- DOM element to insert React components -->
<div id="app"></div>
  1. Create a "Car" class that has the following attributes: brand, model, year, price. Create several car objects with different attributes.

  2. Add those cars objects to a cars list. Using a for loop print each one of the cars in the following format: "Tesla - Model S - 2017 - $81.000

  3. Create a class CarManufacturer. Set the values name and country_origin. For example, name="Tesla", country_origin="US".

  4. Modify the cars so now instead of taking a plain string as a name, they take an object of type CarManufacturer.

  5. Modify the for-loop previously created to use the name attribute of the car manufacturer.

0-mail.com
027168.com
0815.ru
0815.ru0clickemail.com
0815.ry
0815.su
0845.ru
0clickemail.com
0wnd.net
0wnd.org
"""Sample code to use the IBM Watson Speech to Text API.
See more at https://blog.rmotr.com.
"""
import json
from watson_developer_cloud import SpeechToTextV1
IBM_USERNAME = "<YOUR-USERNAME>"
IBM_PASSWORD = "<YOUR-PASSWORD>"

Intro to Python Example projects | rmotr.com

Here are a few examples of the projects we work on during our course. There is just 1 example per week. As you'll see, we focus a lot on design and skills that are hard to learn anywhere else. You'll be working on these projects with the constant presence and help from experienced mentors. Whenever you get stuck, you just raise your hand and someone will be there to help you. No time waste, no 2 hours of googling to get the wrong answer.

  • List of Prime Numbers: Our first week we try to solidify basic concepts (control flow structures, data types, etc)
  • Bookstore Management System: During our second week we use advanced data structures to model a close-to-real-life project. In this project we talk about design decisions when it comes to define the interal structure of our system.
  • **[OOP Tic Tac Toe](ht
def which_type(obj):
if isinstance(obj, int):
return 'integer'
elif isinstance(obj, str):
return 'string'
elif isinstance(obj, bool):
return 'boolean'
elif isinstance(obj, float):
return 'float'