To remove Plagiarism 👇👇
1) Use your Own template✅
2) Change Variables ✅
3) Try to read input in unique style✅
4) Understand the code and write in your style ✅
5) Write whole code in main function / write in diffrent function✅
6) Change Function name solve()=> unique✅
7) If possible change flow of the problem (if it doesn't impact the logic of code)✅
there are so many other things to avoid Plagiarism🔥🔲
@Coding_000❤️
Everyone pls Follow this To qualify IBM 💯✅
1) Use your Own template✅
2) Change Variables ✅
3) Try to read input in unique style✅
4) Understand the code and write in your style ✅
5) Write whole code in main function / write in diffrent function✅
6) Change Function name solve()=> unique✅
7) If possible change flow of the problem (if it doesn't impact the logic of code)✅
there are so many other things to avoid Plagiarism🔥🔲
@Coding_000❤️
Everyone pls Follow this To qualify IBM 💯✅
👍15
👍11❤1
Coding | EXAMS | IBM ACCENTURE | VIRTUSA | IBM | AMAZON | TCS | EPAM | WILEY EDGE | TECH MAHINDRA | JPMORGAN | HCL | WIPRO
Photo
Euclidean distance code ✅ Python
Guys...questions.. are difficult...
I will try to post...all pls wait...😊
I will try to post...all pls wait...😊
❤3
def encrypt_decrypt(message, key_phrase):
words = message.split()
key_words = key_phrase.split()
reversed_key_words = key_words[::-1]
result = []
for i in range(len(words)):
if i < len(key_words):
current_key_word = reversed_key_words[i]
else:
current_key_word = reversed_key_words[i % len(key_words)]
result.append(words[i] + current_key_word)
return ' '.join(result)
if name == 'main':
message = input("Enter message: ")
key_phrase = input("Enter key phrase: ")
print(encrypt_decrypt(message, key_phrase))
Python3
words = message.split()
key_words = key_phrase.split()
reversed_key_words = key_words[::-1]
result = []
for i in range(len(words)):
if i < len(key_words):
current_key_word = reversed_key_words[i]
else:
current_key_word = reversed_key_words[i % len(key_words)]
result.append(words[i] + current_key_word)
return ' '.join(result)
if name == 'main':
message = input("Enter message: ")
key_phrase = input("Enter key phrase: ")
print(encrypt_decrypt(message, key_phrase))
Python3
👍5🔥1