https://github.com/knapply/rversuspython
A collection of exercises comparing R and Python by demonstrating how each accomplishes the same task.
https://github.com/knapply/rversuspython
Last synced: 4 months ago
JSON representation
A collection of exercises comparing R and Python by demonstrating how each accomplishes the same task.
- Host: GitHub
- URL: https://github.com/knapply/rversuspython
- Owner: knapply
- License: gpl-3.0
- Created: 2018-03-06T12:30:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-06T19:53:21.000Z (about 7 years ago)
- Last Synced: 2025-01-16T03:14:24.256Z (6 months ago)
- Language: Python
- Homepage:
- Size: 1.57 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
RversusPython
================
Brendan @syknapptic Knapp- [Exercises](#exercises)
- [1. Output](#output)
- [2. Print "CS"](#print-cs)
- [3. Input](#input)
- [4. Print "C" with Input](#print-c-with-input)
This is a collection of exercises comparing R and Python by demonstrating how each accomplishes the same task. Despite the name, this isn't a competition; they're just tools.
Instead, the goal is to provide a basic resource that walks through some fundamentals in each language (and admittedly as an opportunity for me to "relearn" Python and learn more about R).
Exercises
=========1. Output
---------- Program to show output
- [p1\_output.py](Python/p1_output.py)
- [p1\_output.R](R/p1_output.R)2. Print "CS"
-------------- Write a program that prints out "CS!" in large block letters inside a border of `***`
- [p2\_print\_CS.py](Python/p2_print_CS.py)
- [p2\_print\_CS.R](R/p2_print_CS.R)3. Input
--------- Take some user input and perform some operations before providing output
- [p3\_input.py](Python/p3_input.py)
- [p3\_input.R](R/p3_input.R)4. Print "C" with Input
------------------------ Write a program that prints out "CS!" in large block letters inside a border of `***`, using user input for letter selection.
- [p4\_print\_C\_any\_letter.py](Python/p4_print_C_any_letter.py)
- [p4\_print\_C\_any\_letter.R](R/p4_print_C_any_letter.R)
> Image credit to someone who cropped it from someone who copied it from someone who posted it somewhere on