Answers for "how to enter an input in python"

1

input in python

#input or question, is used to ask question

ans = input('Who invented Microsoft?')

#An if statement

if(ans == 'Bill Gates'):
  print('You got the answer')
Posted by: Guest on November-07-2020

Code answers related to "how to enter an input in python"

Python Answers by Framework

Browse Popular Code Answers by Language