Coding | EXAMS | IBM ACCENTURE | VIRTUSA | IBM | AMAZON | TCS | EPAM | WILEY EDGE | TECH MAHINDRA | JPMORGAN | HCL | WIPRO
3.37K subscribers
1.13K photos
3 videos
17 files
373 links
Main channel https://t.me/Coding_000
Contact Admin 👉 @ILOVEU_143 for booking your exam slots
Web- https://coding000.github.io/Projects/
💯% clearance in any placement exams
OffCampus -https://t.me/Offcampus_000
Discussion- https://t.me/exams_discussion
Download Telegram
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 💯
👍15
Everone Just login now..

And start at 11:07 or 11:08

Share @coding_000 ❤️
👍111
Guys...questions.. are difficult...
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
👍5🔥1