# user_val read from input as a floating-point value. Using format specification, output the following: 

# user_val in fixed-point notation with three places of precision 
# user_val in exponent notation 

user_val = float(input())

# this one is asking you to print the same number into two different formats using format specifications (the stuff after : inside {} in an f-string)

# Fixed-point notation with 3 digits after the decimal 
# Ex: style:  12.300 or 0.125 
# this uses the format specifier : .3f 

#Exponent (scientific) notation 
#Ex: 1.230000e+01 
# this users the format specifier: :e 

user_val = float(input())

print (f'{user_val:.3f}')
print (f'{user_val:e}')

# Why those format specs? 
# .3 three decimal places 
# f = fixed-point (normal decimal form)

# so 2 becomes 2.000, and 5.6789 becomes 5.679 

# :e 
# e = scientfic/ exponent notation 
# So 1234.5 becomes something like 1.234500e+03

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: