Skip to content

nadisan/alx-higher_level_programming

Repository files navigation

0x00. Python - Hello, World

  1. Run Python file mandatory

Write a Shell script that runs a Python script.

The Python file name will be saved in the environment variable $PYFILE

  1. Run inline mandatory

Write a Shell script that runs Python code.

The Python code will be saved in the environment variable $PYCODE

  1. Hello, print mandatory

Write a Python script that prints exactly "Programming is like building a multilingual puzzle, followed by a new line.

Use the function print
  1. Print integer mandatory

Complete this source code in order to print the integer stored in the variable number, followed by Battery street, followed by a new line.

  1. Print float mandatory

Complete the source code in order to print the float stored in the variable number with a precision of 2 digits.

  1. Print string mandatory

Complete this source code in order to print 3 times a string stored in the variable str, followed by its first 9 characters.

  1. Play with strings mandatory

Complete this source code to print Welcome to Holberton School!

  1. Copy - Cut - Paste mandatory

Complete this source code

You can find the source code here
You are not allowed to use any loops or conditional statements
Your program should be exactly 8 lines long
word_first_3 should contain the first 3 letters of the variable word
word_last_2 should contain the last 2 letters of the variable word
middle_word should contain the value of the variable word without the first and last letters
  1. Create a new sentence mandatory

Complete this source code to print object-oriented programming with Python, followed by a new line.

  1. Easter Egg mandatory

Write a Python script that prints “The Zen of Python”, by TimPeters, followed by a new line.

Your script should be maximum 98 characters long (please check with wc -m 9-easter_egg.py)
  1. Linked list cycle mandatory

Technical interview preparation:

You are not allowed to google anything
Whiteboard first
This task and all future technical interview prep tasks will include checks for the efficiency of your solution, i.e. is your solution’s runtime fast enough, does your solution require extra memory usage / mallocs, etc.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages