Answers for "read from terminal python"

5

input command in python shell

x = input("Input Your Name")
#lets say I input Bob
print(x)
#It should output Bob
Posted by: Guest on April-22-2020
0

open terminal in python

# Open terminal 
# Type python with version
# Example
# 1. ~$ python
# 2. ~$ python3
Posted by: Guest on August-20-2021

Python Answers by Framework

Browse Popular Code Answers by Language