- http://learn.rmotr.com/python/introduction-to-programming-with-python/advanced-oop/simple-class-attribute
- http://learn.rmotr.com/python/introduction-to-programming-with-python/advanced-oop/class-and-instance-attributes
- http://learn.rmotr.com/python/introduction-to-programming-with-python/advanced-oop/cookie-factory
- http://learn.rmotr.com/python/introduction-to-programming-with-python/advanced-oop/cookie-factory-with-default-values
- http://learn.rmotr.com/python/introduction-to-programming-with-python/advanced-oop/class-counter
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>Hello React!</title> | |
| </head> | |
| <body> | |
| <!-- DOM element to insert React components --> | |
| <div id="app"></div> |
-
Create a "Car" class that has the following attributes:
brand,model,year,price. Create several car objects with different attributes. -
Add those cars objects to a
carslist. Using a for loop print each one of the cars in the following format:"Tesla - Model S - 2017 - $81.000 -
Create a class
CarManufacturer. Set the valuesnameandcountry_origin. For example,name="Tesla",country_origin="US". -
Modify the cars so now instead of taking a plain string as a name, they take an object of type
CarManufacturer. -
Modify the for-loop previously created to use the
nameattribute of the car manufacturer.
Control Flow - Loops:
http://learn.rmotr.com/python/introduction-to-programming-with-python/control-flow/powers-of-two http://learn.rmotr.com/python/introduction-to-programming-with-python/control-flow/sum-of-numbers-in-list http://learn.rmotr.com/python/introduction-to-programming-with-python/control-flow/user-input-until-exit http://learn.rmotr.com/python/introduction-to-programming-with-python/control-flow/population-growth http://learn.rmotr.com/python/introduction-to-programming-with-python/control-flow/create-counting-list http://learn.rmotr.com/python/introduction-to-programming-with-python/control-flow/get-element-number http://learn.rmotr.com/python/introduction-to-programming-with-python/control-flow/sum-if-list-only-contains-integers http://learn.rmotr.com/python/introduction-to-programming-with-python/control-flow/search-for-string
Control flow and Data Types:
http://learn.rmotr.com/python/introduction-to-programming-with-python/control-flow/conditional-multiplication http://learn.rmotr.com/python/introduction-to-programming-with-python/control-flow/change-number-to-odd http://learn.rmotr.com/python/introduction-to-programming-with-python/control-flow/convert-boolean-to-binary http://learn.rmotr.com/python/introduction-to-programming-with-python/control-flow/greater-than-20 http://learn.rmotr.com/python/introduction-to-programming-with-python/control-flow/is-string http://learn.rmotr.com/python/introduction-to-programming-with-python/control-flow/check-out-of-boundaries http://learn.rmotr.com/python/introduction-to-programming-with-python/control-flow/traffic-light (Elif usage) http://learn.rmotr.com/python/introduction-to-programming-with-python/control-flow/color-mixer (Elif usage)
| 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>" |
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' |