Girls Who Code - U of M (@girlswhocodeum) 's Twitter Profile
Girls Who Code - U of M

@girlswhocodeum

Student Organization at @umich promoting diversity in Programming and STEM.

Anti-Racism Resources: bit.ly/36YSkpV

ID: 1267572686663962629

linkhttp://umich.edu/~girlswc/ calendar_today01-06-2020 21:46:45

123 Tweet

195 Takipçi

76 Takip Edilen

Girls Who Code - U of M (@girlswhocodeum) 's Twitter Profile Photo

Sometimes we're all a little random. Even Python! import random as r my_list = ["girls", "who", "code", "at", "UM", "DCMB"] print(r.choice(my_list)) Use this method to pick a random element from list, tuple, or string (anything indexable). #ThursdayTipsAndTricks

Dr. Audrey Drotos 🧠 🔬 (@audreydrotos) 's Twitter Profile Photo

Seeking Ypsi & other high school teachers (not necessarily near Ann Arbor!) who could spread the word to students & parents about our free, fully virtual Girls Who Code - U of M school year club! Pls tag/comment, we’re looking to expand our reach! 🧑🏼‍💻👩🏽‍💻

Girls Who Code - U of M (@girlswhocodeum) 's Twitter Profile Photo

So you write a fancy function that has multiple outputs. How do you return them all? Easy, peasy in Python! def my_func(arg1): x=arg1+1 y=arg1*2 z=arg1-3 return x,y,z a, b, c = x(arg1) Now the variables a, b, & c have the output from my_func! #ThursdayTipsAndTricks

Girls Who Code - U of M (@girlswhocodeum) 's Twitter Profile Photo

Want a reason to upgrade your code base to Python 3.5+? Seamlessly merge 2 dictionaries like so: 2019Facilitators= {1:"Kelly", 2:"Audrey", 3:"Zena"} 2021Facilitators = {2:"Audrey", 4:"Sarah", 5:"Katie"} all = {**2019Facilitators, **2021Facilitators} #ThursdayTipsandTricks

Girls Who Code - U of M (@girlswhocodeum) 's Twitter Profile Photo

List Comprehensions are our favorite way to create lists in Python! ``` names = ["Sarah", "Katie", "Hayley"] [name for name in names if "y" in name and name.startswith("H")] #> ['Hayley'] [name.upper() for name in names] #> ['SARAH', 'KATIE','HAYLEY'] ``` #ThursdayTipsAndTricks

Girls Who Code - U of M (@girlswhocodeum) 's Twitter Profile Photo

In our last #ThursdayTipsandTricks we showed how you can create lists with one line of code using list comprehensions in #Python. Well you can also create dictionaries and sets using a similar syntax! We think comprehensions are pretty handy:

In our last #ThursdayTipsandTricks we showed how you can create lists with one line of code using list comprehensions in #Python.

Well you can also create dictionaries and sets using a similar syntax! We think comprehensions are pretty handy:
Girls Who Code - U of M (@girlswhocodeum) 's Twitter Profile Photo

huge thanks to @sciencebanshee, tonight's guest speaker at our weekly club! she gave a great talk about how she uses programming to study the intersections between neuroscience and music, the importance of different brain regulatory networks, and her love for LIZZO !

Girls Who Code - U of M (@girlswhocodeum) 's Twitter Profile Photo

Seeking applicants for our free, virtual 2 week Summer Experience! High school students interested in learning data science with Python are encouraged to apply, no prior coding experience required. 🐍👩‍💻📊Please RT/share! forms.gle/77toLaiCAMB9J2…

Brooke N. Wolford, PhD (@bnwolford) 's Twitter Profile Photo

Shout out to Michigan Medicine PhD candidate Kelly Sovacool @kelly-sovacool.bsky.social for giving an awesome interactive Git workshop for colleagues & me NTNU Samfunnsmedisin og sykepleie K.G. Jebsen Center for Genetic Epi. One of the best live programming instructors I’ve ever seen (must be all the Girls Who Code - U of M experience ☺️)

Dr. Audrey Drotos 🧠 🔬 (@audreydrotos) 's Twitter Profile Photo

Our Girls Who Code - U of M club is graduating tonight so they’re giving their final presentations, which are absolutely amazing, and I’m so freaking proud of them I could cry. Hands down the best part of grad school = getting to watch them succeed. The future is in good hands. 💕

Girls Who Code - U of M (@girlswhocodeum) 's Twitter Profile Photo

Apply for our 2022-2023 academic year Girls Who Code Club! We meet weekly via Zoom to teach Python programming skills to high school learners. Check out the info in the attached flyer, and apply here! forms.gle/Vj4zYRBG6HDuSR…

Apply for our 2022-2023 academic year Girls Who Code Club! We meet weekly via Zoom to teach Python programming skills to high school learners. Check out the info in the attached flyer, and apply here! forms.gle/Vj4zYRBG6HDuSR…
Girls Who Code - U of M (@girlswhocodeum) 's Twitter Profile Photo

Don’t forget to submit your applications for our Girls Who Code club this year!! We’d love to have you in our (virtual) classroom! Priority is given to those who apply by September 12! 💻💞🧑🏽‍💻