User:Jacopo/Prototyping: Difference between revisions
Line 17: | Line 17: | ||
PAD: https://pad.xpub.nl/p/2020-09-30-prototyping | PAD: https://pad.xpub.nl/p/2020-09-30-prototyping | ||
Morning | '''Morning Journey inside some individual experiments.''' <br> | ||
> Il Pleut Bot (from Federico)<br> | > Il Pleut Bot (from Federico)<br> | ||
<syntaxhighlight lang="python"> | |||
import random | |||
width = 10 | |||
height = 10 | |||
drops = [',',' ',' ',' '] | |||
rain = '' | |||
for x in range(width): | |||
for y in range(height): | |||
rain += random.choice(drops) | |||
print(rain) | |||
rain = '' | |||
</syntaxhighlight> | |||
> Responsive Form (from Louisa) | > Responsive Form (from Louisa) | ||
Revision as of 10:49, 30 September 2020
↪Prototyping
Notes
Tue 15.09 Lesson w/ Aymeric, Michael, Manetta
Mon 21.09 Lesson 2 w/ Michael
Mon 28.09 Lesson 3 w/ Manetta
Wed 30.09 Lesson 4 w/ Michael
PAD: https://pad.xpub.nl/p/2020-09-30-prototyping
Morning Journey inside some individual experiments.
> Il Pleut Bot (from Federico)
import random
width = 10
height = 10
drops = [',',' ',' ',' ']
rain = ''
for x in range(width):
for y in range(height):
rain += random.choice(drops)
print(rain)
rain = ''
> Responsive Form (from Louisa)
print('Enter your name:')
name = input()
print('Hello, ' + name + ". Are you ready to choose your own adventure? If yes, Type one of these words to kickstart the engine: hot, yellow, bright")<br>
> Differences between LOOP and WHILE