+ 2
MY DCODER ALGORITHMS💻
I am guessing some of you know dcoder and its algorithms questions and you also know dcoder isn't every social....... So I decided to be sharing my algorithms here!!!! Watch as I solve practical problems with My Beautiful Python Code!!!!
2 odpowiedzi
+ 1
Title: Tables
Problem: Cody is now in 1st standard, he is learning tables. Help him printing table of n.
Input: Input containts n, an integer.
Output: Print Table of n.
Constraints: 1≤n≤10000
Sample Input: 2
Sample Output:
2
4
6
8
10
12
14
16
18
20
https://code.sololearn.com/cPwk8pBi2e99/?ref=app
0
Title: Tracy's love.
Problem: Hey, my name is Tracy.I am 4 year old and love the number 6.I want to play a number game with you, I'll give you two numbers and you just need to tell whether their sum or difference can be the number I love,6.
Input: Input contains 2 integers a, b separated by a space character.
Output: Print "Love" if the condition described met else "Hate" without quotes
Constraints: 1≤a,b≤10
Sample Input: 2 8
Sample Output:
Love
https://code.sololearn.com/cfMAhU9R0Mt7/?ref=app