CodeSolved

A comprehensive source of programming questions and exercises

New Year's congratulations to the style of programmers

Practice Easy 924/ Download 655 Views

Write a program to congratulate the programmers in a creative way


This is a #van exercise so there is no right or wrong answer and there is no need to work with the code you write. Just make a little creativity :)

11 Answers

This answer is only visible to premium members
This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error'
alert(msg) 
This answer is only visible to premium members
This answer is only visible to premium members

This answer is only visible to premium members

Subscription is currently unavailable.
This answer is only visible to premium members
This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error'
alert(msg) 
This answer is only visible to premium members
This answer is only visible to premium members

This answer is only visible to premium members

Subscription is currently unavailable.
This answer is only visible to premium members
This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error'
alert(msg) 
This answer is only visible to premium members
This answer is only visible to premium members

This answer is only visible to premium members

Subscription is currently unavailable.
binary_art = {
    'H': [
        "101   101",
        "101   101",
        "111111111",
        "101   101",
        "101   101"
    ],
    'A': [
        " 0111110 ",
        "101   101",
        "111111111",
        "101   101",
        "101   101"
    ],
    'P': [
        "1111110 ",
        "101   10",
        "1111110 ",
        "101     ",
        "101     "
    ],
    'Y': [
        "101   101",
        " 101 101 ",
        "  11111  ",
        "    101  ",
        "    101  "
    ],
    'N': [
        "101   101",
        "110   101",
        "1011  101",
        "101 1 101",
        "101   101"
    ],
    'E': [
        "111111111",
        "101      ",
        "1111111  ",
        "101      ",
        "111111111"
    ],
    'W': [
        "101     101",
        "101     101",
        "101  1  101",
        "101  1  101",
        " 111   111 "
    ],
    'R': [
        "1111110 ",
        "101   101",
        "1111110 ",
        "101 101 ",
        "101   101"
    ],
    ' ': [
        "   ",
        "   ",
        "   ",
        "   ",
        "   "
    ]
}


def display_message(message):
    lines = ["", "", "", "", ""]
    for char in message:
        for i in range(5):
            lines[i] += binary_art[char][i] + "  "  # Add two spaces between characters
    for line in lines:
        print(line)

message = "HAPPY NEW YEAR"
display_message(message)
note="happy new year♡"
count=0
for i in range(100):
	count+=1
	print(f"{count}.{note}")
Roghaye.m Download Python
print('Sal No Mobarak')
print('Omid Varam Sal Khobi Dashte Bashid')

0   1     I  I    /  _____
1   1     I   I  /  /____
1   11111 I    I/  /____

   I   /      0 0       1     1
   I  /      0   0      1     1
   I /      0    0      1     1
    1       0    0      1     1
    1       0    0      1     1
    1         0 0       1_____1
def year():
    print("happy new year")
    print("----------------")
    print("happy day")
    print("------------------")
    print("Happy Programmer's Day")
    print("--------------------")
    print("I hope you have a good and happy year")
year()                    
salnow = input ("Nam khod ra vared konid")
print("salnow mobark bashe",salnow)

Amirr Download Python
def salno():
    print(f"Salam chetori {name}")
    print("omidvaram ke sal khobi ro dashte bashi!!!")
    print("hala bia ye soal sade riazi baham hal konim")
    a = int(input("2 + 2 mishe chand? "))
    if a == 4: print("kamelan eshtebah!!!!!","riazi balad nisti haaa")
    else: print("Afarin danesh mand")
    
name = input("esm:")
print(salno())
User 1355 Download Python
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⠤⠤⠤⢤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀

⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⠞⠋⠀⠀⠀⠀⠀⠈⠛⢦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⡾⢉⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡾⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢳⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⣀⡀⠀⠀⠀⢀⡞⠀⡾⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡼⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣧⠴⠒⠉⠉⠉⠙⠲⢤⡀⠀⠀
⠀⠀⠀⢀⡾⠋⣹⡇⠀⠀⡼⠀⣸⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡞⠁⠀⠀⠀⠀⠀⠀⠀⠀⠉⢦⠀
⠀⠀⠀⣼⠁⢠⠏⠀⠀⢰⠃⢠⡇⠀⠀⠀⠀⠀⠀⣰⢶⡄⠀⠀⠀⣶⢳⡀⠀⠀⠀⠀⠀⠀⣀⡀⠘⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢇
⠀⠀⢰⠇⠀⡞⠀⠀⠀⡟⠀⣼⠀⣀⡴⠦⣤⣤⣠⠇⣸⠟⠳⣆⢸⠃⡼⡏⠻⣆⣰⠛⢲⣼⠉⢹⡆⢳⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⠀⠀⡞⠀⣸⠁⣀⣠⡼⠃⢠⡇⣰⠋⢠⡷⠀⣸⡿⠀⢠⣾⠀⢹⡟⠀⣰⢿⠀⣿⠇⢠⣿⠃⢠⡟⠀⠈⢧⠀⠀⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸
⠀⢰⠇⠀⠛⢉⣉⣠⡶⠀⣼⣴⠃⣠⣿⠁⢰⡿⠃⢠⢏⡞⢀⣾⠁⣰⢣⡏⢀⣿⠀⡼⠃⠀⡞⠀⠀⠀⠈⢳⡀⠀⠀⠀⠀⠀⠀⣸⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡏
⠀⡞⠀⣰⠛⠉⠀⢸⠁⠀⡇⡇⢀⡿⢁⡤⠾⣁⢀⠻⣞⣡⡾⡟⢠⡛⣏⣠⠟⠸⣆⣠⡆⢸⠃⠀⠀⠀⠀⠀⠙⢦⣄⣀⣠⠴⠚⠁⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⠞⠀
⢰⠃⢠⡇⠀⠀⠀⠘⠶⠞⠁⢧⣈⡴⠋⠓⢺⡏⢸⠛⠚⠉⢸⠇⣸⠉⠉⣥⣄⠀⠀⢸⠀⣸⠀⠀⠀⠀⠀⠀⠀⢠⡟⠉⠀⠀⠀⠀⠸⣆⠀⠀⠀⠀⠀⠀⠀⠀⣀⡴⠋⠀⠀
⣾⠀⣸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⠁⡞⠀⠀⠀⡾⢀⡇⠀⠀⢿⡘⠓⠶⢏⣠⠟⠀⠀⠀⠀⠀⠀⢠⡟⠀⠀⠀⠀⠀⠀⠀⠹⣧⡀⠀⠀⣀⣠⠴⠚⠁⠀⠀⠀⠀
⠈⠉⠁⠀⠀⠀⠀⢀⣠⠤⠤⠤⢤⣀⠀⠀⡏⢰⡇⠀⠀⠀⡇⢸⣇⢀⡀⠀⠙⢳⠾⣏⠁⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⠀⠀⠀⠀⠀⠀⢀⣼⠟⠛⠛⣉⡀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⢰⠋⠀⣀⣀⡤⢤⡙⢧⡀⠙⠚⠃⠀⠀⠀⠉⠉⣽⠏⣹⣆⣰⡏⢠⠏⠀⠀⠀⠀⠀⣰⠖⢾⡇⠀⠀⠀⠀⠀⠀⠀⢠⡿⠁⠀⢀⡼⠉⢙⡇⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⢀⡟⠀⣸⠉⠀⢀⡼⠁⣠⠇⠀⠀⠀⠀⢠⡖⠋⢉⡉⢠⣄⣤⡄⢨⡿⠀⠀⠀⠀⠀⢰⠏⢀⡞⠀⠀⠀⠀⠀⠀⠀⢰⡟⠀⠀⠀⡼⠁⠀⡾⠁⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⣸⠁⢠⠇⣠⡴⠋⣀⡴⢫⡞⢛⣧⡴⠲⣤⣭⣉⡿⠁⡾⠀⡼⢀⡞⣀⣀⠀⠀⠀⢀⡟⠀⡾⠀⣀⡀⠀⠀⠀⠀⣰⡟⠀⠀⠀⢰⠃⠀⣸⠁⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⢠⠇⠀⠞⠋⠁⠐⠛⢧⡀⣼⠛⣿⢻⠄⡀⠉⢠⣿⠃⢰⠃⣸⠣⣼⡟⠁⣸⣤⠞⠉⣻⠁⣸⣡⠞⠉⡙⠗⢶⣀⡴⢿⣤⡴⢦⡄⡏⠀⢠⠏⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⡾⠀⣠⠶⠒⠒⠒⣶⠀⣿⠇⢰⣇⡟⢠⠇⢠⡏⡟⠀⡞⣰⠃⣸⢏⠀⢠⣿⠋⢀⣾⠏⢠⣿⠃⢠⣾⠏⠀⣼⡟⠀⣸⡿⠀⣠⢿⠇⢠⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⢰⠇⢠⡏⠀⠀⣠⠞⠁⣰⣿⠀⣾⡾⣡⣿⠀⣼⡟⡁⢠⣷⠃⠀⢃⣿⠀⡾⠃⢀⣿⡏⠀⣸⡇⢠⣿⠋⠀⢸⡿⠁⢰⡿⠁⢰⠃⣼⠀⡾⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⣾⠀⣸⣀⡤⠚⢁⣠⠞⠁⢹⡀⣻⡴⠃⠸⣤⣨⠶⠳⠤⠴⣆⣠⠟⠹⠦⠴⣆⠘⢋⡴⣄⣉⣅⠘⣁⣴⡄⢛⣠⣄⠈⡀⠀⣯⣠⠿⣶⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⣧⡀⢉⣀⡤⠖⠋⠁⠀⠀⠀⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡾⠛⠉⠀⠀⠀⣈⣽⠿⠛⢻⣍⠁⠉⢹⡇⢸⠻⣇⣀⣼⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡴⠟⠁⠀⠀⣀⣠⡶⠞⠋⠀⠀⠀⢸⡘⠧⢤⣼⠁⣸⠀⠈⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⠟⢋⣀⣤⡴⠖⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⠙⠲⠤⠶⠚⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⢟⡛⠋⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
Hes8am Download
<< Previous page 1 2 Next page >>

Submit answer

Submitting answers is currently unavailable.

Related content

Detection using AI
×
×
Close