mirror of
https://github.com/Asabeneh/30-Days-Of-Python.git
synced 2026-06-06 21:09:15 +08:00
Resolved errors(need some reviewing, might have missed some errors) Added comments Changed print to return (to avoid None) Removed <\div> Reviewed exercises and numbered them Removed ";" in some part (; doesn't trigger error) Reviewed the python files
10 lines
244 B
Python
10 lines
244 B
Python
|
|
from mymodule import generate_full_name as fullname, sum_two_nums as total, person as p, gravity as g
|
|
print(fullname('Asabneh','Yetayeh'))
|
|
print(total(1, 9))
|
|
mass = 100
|
|
print(mass)
|
|
weight = mass * g
|
|
print(weight)
|
|
print(p)
|
|
print(p['firstname']) |