Answers for "python 3 print"

16

print() in python

print('hi, baby!')
Posted by: Guest on January-02-2021
3

python print

# Rainy Day
wet = 'umbrella'
print(wet)
# Sunny Day
hot = 'sunglasses'
print(hot)
Posted by: Guest on October-02-2020
1

python print

x = 10
y = 5
print(x)			# 10
print("x is ",x)	# x is 10
print(x,y)			# 10 5
print("sum of", x, "and", y, "is", x+y)   # sum of 10 and 5 is 15
mCar = "A"
print(mCar * y) 	# AAAAA
Posted by: Guest on February-14-2021
3

how to print in python

#('') a string, to indicate it is a string you can use ("") or ('')
print("hello world")
#a integer 
print(19)
# a float:
print(4.5)
# a bool:
print (True)
print (False)
Posted by: Guest on December-10-2020
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

python print

# Name
Harry = "Harry"
# Age
my_age = 8
# Math Problem
math = 4
problem = 9
print(Harry,my_age,math * problem)
Posted by: Guest on October-01-2020

Python Answers by Framework

Browse Popular Code Answers by Language