Skip to content

Latest commit

 

History

History

0x00-python-hello_world

Project: 0x00. Python - Hello, World

This directory contains introductory projects for learning Python programming. The tasks cover basic concepts such as running Python scripts, printing, string manipulation, and understanding Python's coding style.

Resources

Read or watch

Learning Objectives

General

  • Why Python programming is awesome
  • Who created Python
  • Who is Guido van Rossum
  • Where does the name ‘Python’ come from
  • What is the Zen of Python
  • How to use the Python interpreter
  • How to print text and variables using print
  • How to use strings
  • What are indexing and slicing in Python
  • What is the official Python coding style and how to check your code with pycodestyle

Tasks

Task File Description
0. Run Python file 0-run Write a Shell script that runs a Python script.
1. Run inline 1-run_inline Write a Shell script that runs Python code.
2. Hello, print 2-print.py Write a Python script that prints exactly "Programming is like building a multilingual puzzle".
3. Print integer 3-print_number.py Complete this source code in order to print the integer stored in the variable number.
4. Print float 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 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. Play with strings 6-concat.py Complete this source code to print Welcome to Holberton School!
7. Copy - Cut - Paste 7-edges.py Complete this source code
8. Create a new sentence 8-concat_edges.py Complete this source code to print object-oriented programming with Python.
9. Easter Egg 9-easter_egg.py Write a Python script that prints “The Zen of Python”, by Tim Peters.
10. Linked list cycle 10-check_cycle.c, lists.h Write a function in C that checks if a singly linked list has a cycle in it.
11. Hello, write 100-write.py Write a Python script that prints a message to stderr.
12. Compile 101-compile Write a script that compiles a Python script file.
13. ByteCode -> Python #1 102-magic_calculation.py Write the Python function def magic_calculation(a, b): that does exactly the same as a given Python bytecode.