Загрузка...

Day 4, 100days of code

4 of my #100DaysOfCode

Moving from simple variables into actual Data Structures using Python Lists. As I grow in data analytics, I know organizing and manipulating data is the core of the job, so getting comfortable with lists is a critical foundation.

Here is what I tackled in day 4.

Randomisation: Using the Mersenne Twister (import random) and randint() to generate unpredictable outcomes.

Lists: Creating, altering, and managing data structures using brackets [].

List Methods: How to use .append(), .extend(), .insert(), and .pop().

Indexing: Accessing specific data points (and successfully conquering negative indexing!).

To put it all together, we built a fully functional Rock, Paper, Scissors game that plays against the user.

Видео Day 4, 100days of code канала Tech With Eunice
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять