7. Reading and homework¶
9
string = input("Write a text: ")
print(string)
n = int(input("Enter an integer number: "))
print(n)
y = float(input("Enter a float number: "))
print(y)
x = eval(input("Enter a mathematical expression: "))
print(x)
Activity: 7.1 ActiveCode (ac_l40_7_en)
You have attempted 1 of 2 activities on this page