Skip to content

Files

Latest commit

 

History

History
19 lines (9 loc) · 470 Bytes

File metadata and controls

19 lines (9 loc) · 470 Bytes

input() function

  • The input() function is able to read data entered by the user and to return the same data to the running program.

alt text

you can't do this, this is prohibited

There is a typeerror.

alt text

The last line of the sentence explains everything ‒ you tried to apply the ** operator to 'str' (string) accompanied with 'float'

Type casting (type conversions) in input() function

alt text