Skip to content

Commit 6dd5ebf

Browse files
authored
Update README.md
1 parent 796164d commit 6dd5ebf

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed
Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
1-
Write a program that computes the value of a+aa+aaa+aaaa with a given digit as the value of a.
2-
Suppose the following input is supplied to the program:
3-
9
4-
Then, the output should be:
5-
11106
1+
# `34` a aa aaa aaaa
2+
3+
## 📝 Instructions:
4+
5+
1. Write a program `compute_the_value` that a sentence and calculates the number of uppercase and lowercase letters.
6+
1. Write a program `compute_the_value` to calculate the sum of a+aa+aaa+aaaa, where 'a' is a given digit.
7+
8+
## 📎 Example input:
69

7-
Hints:
8-
In case of input data being supplied to the question, it should be assumed to be a console input.
10+
```py
11+
compute_the_value("9")
12+
```
13+
14+
## 📎 Example output:
15+
16+
```py
17+
11106
18+
```

0 commit comments

Comments
 (0)