0
Does input work with if
please give an example
4 Answers
+ 1
myName = input ("Enter a name: ")
if myName == "DePjoez":
print ("Your awesome!!!")
elif myName == "Neel Raut":
print ("This is how you do it!!!")
else:
print ("welcome...")
0
Can u pls elaborate with example. I tried this but came up with exception.
s=5;
d=input(
if (s){
print ("true")
}else {
print ("False")
}
);
đ
0
Thanks for the help
0
yess