Skip to content

MarjorieBn/Data-Scientist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Data Scientist

Manipulation of arrays and hashes containing hundreds of elements, all via a program in a well-organized Ruby folder.

00_journalists.rb

00_journalists.rb is a Ruby program based on an array of Twitter's accounts, with an interactive menu that answers the following questions:

  • How many handles are in this array?
  • What is the shortest handle in this list?
  • How many handles contain 5 characters (the @ symbol does not count as a character)?
  • How many begin with a capital letter (the first letter after the @ symbol)?
  • Sort the list of handles alphabetically.
  • Sort the list of handles by handle size (smallest first, largest second).
  • What is the position of the person @epenser in the array?
  • Provide a breakdown of the handles by their size (number of handles with 1 character, number of handles with 2 characters, number of handles with 3 characters, etc.).

01_cryptocurrencies.rb

01_cryptocurrencies.rb is a Ruby program based on 2 arrays: crypto data and values, with an interactive menu that answers the following questions:

  • The cryptocurrency(ies) with the highest value.
  • The cryptocurrency(ies) with the lowest value.
  • Currencies with a value below 6000.
  • The most expensive currency among those with a value below 6000.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages