“Drucken in Python” Code-Antworten

Python -Druck

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
VasteMonde

So verwenden Sie die Druckfunktion in Python

print("What you would like to print :D")

#And then it will print in my case "What you would like to print :D" in the output
Jeppe Pro

Drucken in Python

print("this is a print function, what ever you write inside this , it will display in output ")
Sanket s.s

Python drucken

#this is how to print
print("I am getting printed")
Clear Caracal

Python -Druck

print('Hello World of Python!!')
Pow

Drucken in Python

#you first need to have an event to fire a piece of code.
#with that i use the if statement

can_run = True

if can_run:
    print("ok i,m printing")
    #you can print varibles(strings) too

the_4_words = "ok i,m printing varibles"

if can_run:
    print(the_4_words)
dl.idiot..

Ähnliche Antworten wie “Drucken in Python”

Fragen ähnlich wie “Drucken in Python”

Weitere verwandte Antworten zu “Drucken in Python” auf Python

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen