how to use inputs in methods in pythong code example
Example 1: python how to use input
#basic user handling for begginers
x = input("your question here") # when someone types something here that answer will be saved and be used for later
# for example
print(x)
Example 2: 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')