You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
243 B
16 lines
243 B
8 months ago
|
import sys
|
||
|
|
||
|
|
||
|
def greet(name):
|
||
|
print(f"Hello {name}")
|
||
|
|
||
|
def greet(name, message):
|
||
|
print(f"Hello {name}, {message}.")
|
||
|
|
||
|
try:
|
||
|
greet("Jan")
|
||
|
greet("Jan", "Wie gehts?")
|
||
|
except Exception as e:
|
||
|
print(e)
|
||
|
|
||
|
print(sys.float_info.epsilon)
|