Last active
January 25, 2024 23:24
-
-
Save miotke/ad000f1184d8d4e2b2017d490b4e1f7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Passing your question in to input() as a string | |
# | |
# Both print() and input() are functions that can take some some data, | |
# usually a string. | |
# | |
# Below in 'user_input' it asks how many apples you have and then you can | |
# type in anything you want (preferrably a number) then, it prints whatever | |
# value you gave user_input. | |
user_input = input("How many apples do you have? ") | |
print(user_input) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment