Answers for "how to input a string to x in python"

17

python input

# The function 'input()' asks the user for input
myName = input()
Posted by: Guest on February-21-2020
-1

how to print the 3erd character of an input in python

exampleString = "This is an example sentence"
print(exampleString[2])
Posted by: Guest on October-13-2020

Code answers related to "how to input a string to x in python"

Python Answers by Framework

Browse Popular Code Answers by Language