-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathex10.py
More file actions
30 lines (24 loc) · 659 Bytes
/
ex10.py
File metadata and controls
30 lines (24 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
###EXERCISE:
'''from sys import argv
script, author = argv
print (f"I'm {author}, the writer of this story")
print("what do you want to be the location of this story?")
submit = '>> '
location = input(submit)
print("how many characters do you want in a story?")
num_of_characters = input(submit)
print(f"this happened at {location}, there were {num_of_characters} present on the spot")
num_1 = input("enter a number")
num_2 = input("enter a number")
result = num_2 + num_1
print(result)'''
## imporint library
import math
import datetime
today = datetime.date.today()
print(today)
x = 2
y = 3
result = pow(y, y)
result_2 = math.sqrt(9)
print (result_2)