Skip to content

Latest commit

 

History

History

0x00-python-hello_world

Python-Hello, World

Technologies

  • Files written in vi, vim, and emacs editors.
  • C files compiled using gcc 9.4.0.
  • C files wriiten according to the betty coding style. Checked using betty-style.pl and betty-doc.pl.
  • Files tested on Ubuntu 20.04 LTS using gcc.
  • Python3.4 files

Files

Files Description/Question
0-run Write a Shell script that runs a Python script.The Python file name will be saved in the environment variable $PYFILE
1-run_inline Write a Shell script that runs Python code.The Python code will be saved in the environment variable $PYCODE
2-print.py Write a Python script that prints exactly "Programming is like building a multilingual puzzle, followed by a new line.
3-print_number.py Complete this source code in order to print the integer stored in the variable number, followed by Battery street, followed by a new line.
4-print_float.py Complete the source code in order to print the float stored in the variable number with a precision of 2 digits.
5-print_string.py Complete this source code in order to print 3 times a string stored in the variable str, followed by its first 9 characters.
6-concat.py Complete this source code to print Welcome to Holberton School!
7-edges.py Complete this source code
8-concat_edges.py Complete this source code to print object-oriented programming with Python, followed by a new line.
9-easter_egg.py Write a Python script that prints “The Zen of Python”, by TimPeters, followed by a new line.
10-check_cycle.c Write a function in C that checks if a singly linked list has a cycle in it.
lists.h A prototype of a C-header file for 10-check_cycle.c
100-write.py Write a Python script that prints exactly and that piece of art is useful - Dora Korpar, 2015-10-19, followed by a new line.
101-compile Write a script that compiles a Python script file
102-magic_calculation.py Write the Python function def magic_calculation(a, b): that does exactly the same as the following Python bytecode:

Contributors: micah Ondiwa