+ 3
It can't work because input() wasn't stored in a variable. Try this:- input=input() print(input) Or just a one liner:- print(input())
27th Mar 2022, 5:07 PM
Chigozie Anyaeji 🇳🇬
Chigozie Anyaeji 🇳🇬 - avatar
+ 2
we should not use names of built-in functions as variable names, as the following code demonstrates: input=input() print(input) name = input() the program crashes at the 3rd line.
27th Mar 2022, 5:19 PM
Lothar
Lothar - avatar
0
in 'print(input)' after input you have not put () brackets so it is not a function but a reserved keyword so no error but it prints about it.
27th Mar 2022, 3:59 PM
Shaurya Kushwaha