Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# OpenBootCampPython
Repository to store Python boot camp.

* Exercise 1: Desde la consola de python almacena la cadena “Hola mundo!” en una variable y muéstrala. Tienes que subir capturas de pantalla en una carpeta comprimida zip.

* Screenshot in folder "src/ExerciseOne/helloworld.png" on branch ExerciseOne.
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-i https://pypi.org/simple
setuptools==65.5.0 ; python_version >= '3.7'
wheel==0.38.0
Binary file added src/exerciseone/helloworld.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/exerciseone/helloworld.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
def helloworld():
"""Script that show in terminal the string 'Hola mundo!'
:return: None
:rtype: NoneType
"""
a = "Hola mundo!"
print(a)
13 changes: 13 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from src.exerciseone.helloworld import helloworld


def main():
"""Main function for helloworld exercise
:return: None
:rtype: NoneType
"""
helloworld()


if __name__ == '__main__':
main()