Adding as many examples as I've converted so far.
This commit is contained in:
1
2 - Console In and Out/Challenge/README.md
Normal file
1
2 - Console In and Out/Challenge/README.md
Normal file
@@ -0,0 +1 @@
|
||||
Build a program that requests a user's name, and then prints a greeting.
|
||||
2
2 - Console In and Out/Challenge/main.py
Normal file
2
2 - Console In and Out/Challenge/main.py
Normal file
@@ -0,0 +1,2 @@
|
||||
userName = input("Please enter your name: ")
|
||||
print("Hello " + userName)
|
||||
0
2 - Console In and Out/README.md
Normal file
0
2 - Console In and Out/README.md
Normal file
6
2 - Console In and Out/main.py
Normal file
6
2 - Console In and Out/main.py
Normal file
@@ -0,0 +1,6 @@
|
||||
print("Hello World!")
|
||||
|
||||
print("This is console out!")
|
||||
|
||||
userInput = input("Write some text: ")
|
||||
print("You wrote: " + userInput)
|
||||
Reference in New Issue
Block a user