Codes: Difference between revisions
(Created page with ""hello {}".format(name) f"hello {name}" print ("hello python") n = "your name" "Hello" + x <b>loops</b> for x in range(10): print ("hello python") print (x) x = 1...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
print (f"x is {x}") | print (f"x is {x}") | ||
x = x + 1 | x = x + 1 | ||
Latest revision as of 16:30, 15 October 2020
"hello {}".format(name) f"hello {name}" print ("hello python")
n = "your name" "Hello" + x
loops
for x in range(10):
print ("hello python") print (x)
x = 1 while x<10:
print (f"x is {x}") x = x + 1