Skip to content

Minnia/rover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

groceries

#This file has been made to create a simple grocery list, that is stored in a list #The items in the grocery list are added to a price. The prices are stored in a list #To relate the groceries to the prices, a dictionary comrephension is used #A function is created where money is withdrawn from a wallet, depending on the sum of the groceries and their prices

rover

Rover takes the input

5 5 1 2 N LMLMLMLMM 3 3 E MMRMMRMRR

Expects output

1 3 N 5 1 E

Initialize rover by setting it to a variable, in this case r

Move rover by using function moveRover on variable r

Unittests have been created to assert correct output

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages