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
376 B
16 lines
376 B
import termcolor as tc
|
|
|
|
print(tc.colored("Hello World!","green"))
|
|
|
|
# importování celé knihovny
|
|
# import math
|
|
# print(math.sqrt(16))
|
|
|
|
#importování jenom část knihovny
|
|
# from math import sqrt
|
|
# print(sqrt(16))
|
|
|
|
#importování části knihovny a přejmenování
|
|
from math import sqrt as odmocnina, pi
|
|
print(tc.colored(odmocnina(16),"blue"))
|
|
print(tc.colored(pi,"yellow"))
|