76 836
Assignments Done
Successfully Done
In June 2019

Answer to Question #34145 in Python for Bill Waters

Question #34145
ans = input('data :')
if ans == 'y':
else: print('n')

this code when run in the python works as expected (if you enter 'y' it prints Y) but if you run the code using as Windows bat file if you enter 'y' it prints n... what is the deal?

Regards Bill
Expert's answer

Not answered

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions