Here we're introduced to Python for the first time in this program. We'll be writing python code and shell scripts in this project.
0. Run Python file
Write a Shell script that runs a Python script.
The Python file name will be saved in the environment variable $PYFILE
`guillaume@ubuntu:~/py/0x00$ cat main.py #!/usr/bin/python3 print("Holberton School")
1. Run inline
Write a Shell script that runs Python code.Write a Shell script that runs Python code.
The Python code will be saved in the environment variable $PYCODE
2. Hello, print
Write a Python script that prints exactly "Programming is like building a multilingual puzzle, followed by a new line.
3. Print integer
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
Complete the source code in order to print the float stored in the variable number with a precision of 2 digits.
5. Print string
Complete this source code in order to print 3 times a string stored in the variable str, followed by its first 9 characters.
6. Play with strings
Complete this source code to print Welcome to Holberton School!
7. Copy - Cut - Paste
8. Create a new sentence
Complete this source code to print object-oriented programming with Python, followed by a new line.
9. Easter Egg
Write a Python script that prints “The Zen of Python”, by TimPeters, followed by a new line.