Can someone help me translating this python code into C?
I'ÂŽd like to make this code like an app for a friend's smartwatch and I'm still learning Python and I can't get into C. The purpose is to give a prediction everytime you click your smartwatch's button so if someone can develope it for what I want that would be nice. If someone could it would be pretty nice. I'm spanish so variable are written in Spanish sorry :). This is just the title of the app # La bola de la suerte de los examenes q = "Atento a las unidades." w = "DeberĂas haber estudiado mĂĄs." e = "Mereces suspender." r = "Me da a mĂ que no has estudiado suficiente." t = "Eres un/a inĂștil." y = "Por supuesto." u = "Claro que sĂ campeĂłn." i = "Por supuesto" o = "Sisisisi, sin duda" p = "Bueno, no mucho" a = "No cabe duda que sĂ" import random r_number= random.randint(0,11) list= [q, w, e, r, t, y, u, i, o, p, a] print (str(list[r_number]))