Skip to content

Instantly share code, notes, and snippets.

@uncoded-ro
Created January 10, 2020 07:29
Show Gist options
  • Save uncoded-ro/ee7be2b30f464a126c462d2f1694ef82 to your computer and use it in GitHub Desktop.
Save uncoded-ro/ee7be2b30f464a126c462d2f1694ef82 to your computer and use it in GitHub Desktop.
"""Rolul acestui modul este acela de a introduce functii pentru transmiterea de mesaje.
Fisier: hello.py
Autor: airman
Versiune Python: 3.7"""
default_name = 'Ghita'
def hello_python():
"""Afiseaza un mesaj de tipul Hello Python!"""
print('Hello Python!')
def hello_name(name = default_name):
"""Afiseaza un mesaj personalizat sau Hello Ghita! daca nu se transmite valoare pentru nume"""
print('Hello {}!'.format(name))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment