Answers for "print python"

18

print python

print('Hello, world!')
Posted by: Guest on January-16-2020
0

print python

#try it :)
print("Hello, world!")

#or 

#you can print variable
name = "Harry"
print(name)


name = "Harry";print(name) #all on the same line
Posted by: Guest on September-17-2020
3

print python

print('Hello, world!')

# Oh, I'm late...
Posted by: Guest on July-08-2020
1

print python

# Simple Print:
print("Hello World!")

# Formatting message in python3.6- :
name = "World"
print("Hello {}!".format(name))

# Formatting message in python3.7+ :
name = "World"
print(f"Hello {name}!")
Posted by: Guest on October-04-2020
3

print python

x=str("Hello ")
y=str("world ")
print(x+y)
print(y+x)
z=int(40)
print("z="y)
Posted by: Guest on February-24-2020
0

print python

#this is how to print
print("I am getting printed")
Posted by: Guest on March-30-2021
2

print python

# You can use ' or "

# Print a text string in JavaScript
print('My text')

# Print a variable in JavaScript
my_variable = str('Text')
print(my_variable)

# Print a number in JavaScript
print(123)
Posted by: Guest on January-09-2021
1

print python

#FR
str_one = "Hello, "
str_two = "world !"

print(str_one + str_two)
Posted by: Guest on January-10-2021
0

print python

print('hello world') #print can write a string a number or a variable

#for example you can 'print' a number
print(1) #if you want to print a number you can print it without '' or ""

#we can print a variable
string = 'hi'
print(string) #if you want to print a variable you can print it without '' or ""
Posted by: Guest on July-25-2021
0

print python

#making a print statement:
print('your text')
# you should now see'your text' in the terminal
Posted by: Guest on February-24-2021

Python Answers by Framework

Browse Popular Code Answers by Language