Specs: First year of new graduates from IT companies Python history: 1 day (Favorite music game: *** Jubeat ***)
App name: *** This is OK for the final 16 stations of Ai Musou *** Development time: *** 10 minutes ***
Development background ・ The last 16 stations of I'm so happy (red) *** do not shine ***. ・ If you only remember your fingering ... but *** I can't remember ***. ・ I can remember it by practicing many times, but *** I don't have an environment to practice ***. Then, why not use the PC keyboard as a 4x4 square so that you can practice during work? From here, the Python development of "This is OK-kun, the final 16 of Ai Musou" started ...
Contents of imso function
def imso():
print("""
----
1234
qwer ← Compare these keys on your keyboard to a 4x4 jubeat panel.
asdf
zxcv
----""")
print("""
--------
⑩⑭⑤⑬
②⑥⑨①
④⑫⑮⑦
⑯⑧③⑪
--------""")
unsi = input ('Enter fingering:')
if unsi == 'rqca3wfxe1vs42dz':
print("""
__People People People __
>EXCELLENT<
 ̄Y^Y^Y^Y^Y
""")
else:
print("""
_People People_
>FAILED<
 ̄Y^Y^Y^
""")
Unit test code for imso function
if __name__=='__main__':
imso()
I'm sorry.
Recommended Posts