how to print in python
'''
print()inside the parentheses put a single colon or double colon
'''
# example like this
print("this how you use print statement")
# or like this
print('other way to print in python')
how to print in python
'''
print()inside the parentheses put a single colon or double colon
'''
# example like this
print("this how you use print statement")
# or like this
print('other way to print in python')
print in python
print("Hey! How are you doing?")
## formatted string literal
answer = "Well!"
print(f"Hey! How are you doing? {answer}")
what is print in python
A print funtion is a way to print data in the console
use:
print("Hello World")
x = "Hello World"
print(x)
x = 5 + 5
print(str(x))
print in 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}!")
print in python
def i_will_print_with_a_diffrent_function(x):
print(x)
i_will_print_with_a_diffrent_function("my name")
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us