Answers for "how to print someting in python"

0

how to print someting in python

### print text
print ("Hello")

### print variable
test_variable = 'Hello World'
print (test_variable)

### combine variable and words 
Name_variable = 'Thomas'
print (f"Hello, {Name_variable}")

### print more words
print ("hello", "how are you")
Posted by: Guest on June-30-2021

Code answers related to "how to print someting in python"

Python Answers by Framework

Browse Popular Code Answers by Language