Codes for quilting

From XPUB & Lens-Based wiki
Revision as of 17:33, 15 October 2020 by Naaami (talk | contribs) (Created page with " <b>loops</b> for x in range(10): print ("hello python") print (x) x = 1 while x<10: print (f"x is {x}") x = x + 1 <b>.random</b> import random dir (random)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

loops for x in range(10):

   print ("hello python")
   print (x)

x = 1 while x<10:

   print (f"x is {x}")
   x = x + 1

.random import random dir (random) random.randint from random import choice random.choice