Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 97c4e70

Browse files
committed
Add files via upload
1 parent 47e07b1 commit 97c4e70

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Week2/Functii.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# print("Message on console")
2+
# variabila = 1
3+
# print("Message no {}".format(variabila))
4+
# raspuns_utilizator = input("Enter your name:")
5+
# print(raspuns_utilizator)
6+
7+
# def my_function(param_1):
8+
# pass
9+
10+
def suma(a, b=6):
11+
if type(a) == str:
12+
return a
13+
return a + b
14+
15+
16+
my_sum = suma(1, 4)
17+
print(my_sum)

0 commit comments

Comments
 (0)