added extra examples

This commit is contained in:
gijsio
2020-07-27 13:01:36 +02:00
parent 70154eeaf1
commit 009b388b2d
6 changed files with 206 additions and 10 deletions

View File

@@ -19,4 +19,6 @@ print("\n") #feed a new line
print("\t tabbed in")
#you can specify a variable into the string as well!
print("hello world: " + str(machine.rng()) + " random number" )
#or use format
print("hello world: {} {}".format(machine.rng(), " random number"))
```