On 30/11/17 08:20, Jeroen van de Ven wrote:
Hello,
Can you build these 4 programms for me?

This list doesn't work like that. We will not write code for you. You make an attempt at the problems, we will then assist.

1:
Input: 5 7 (rows and colloms)
Output:
*******
*******
*******
*******
*******

2:
Move all of the letters 23 places to the right. All capital letters.
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (boodschap)
X Y Z A B C D E F G H I J K L M N O P Q R S T U V W (code)

N=23

Example
Input:   COMPUTER
Output: ZLJMRQBO

3: Bitcoin:
Make as much as possible money.
-You start with no bitcoin.
-You stop with no bitcoinJ
-Never have more then 1 bitcoin at a time.
-You can sell and buy a bitcoin whenever you want to.
First input = N, the amount of days. Then the input is the course of the
bitcoin of every day.
Output is 1 line with maximum of profit. It can be 0.
Example:
Input: 10 5 11 4 2 8 10 7 4 3 6
Output: 17

Kind Regards Jeroen van de Ven (beginner)

--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to