Pls I’m just learning python and i try running some code with my practical manual, but it’s just showing the error above.. my code below:
a = input("Pls enter the value of a") b = input("Pls enter the value of b") area = 0.5 * a * b print(f"The area is,{area}")
and the result was
TypeError Traceback (most recent call last)
Cell In[8], line 6
4 a = input("Pls enter the value of a") 5 b = input("Pls enter the value of b") ----> 6 area = 0.5 * a * b 7 print(f"The area is,{area}")
TypeError: unsupported operand type(s) for *: ‘float’ and ‘PyodideFuture’
Pls enter the value of a
↑↓ for history. Search history with c-↑/c-↓
Pls enter the value of b
Akinola Ayomide is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.