DEV Community

TANYA LYOP ACHAYI
TANYA LYOP ACHAYI

Posted on

Day 4 of 100.

Today I learned how to make my code talk to people using user input. It feels like Python is no longer just printing stuff but actually listening to me.🤭😇

I also tried converting data types, turning strings into numbers so Python can do some math. Using f-strings, I made it calculate my age for next year, cool right?😊😊😊

PythonZeroToHeroStudent

100DaysOfPython

Top comments (3)

Collapse
 
daemonic01 profile image
Dominik Kopócs

Cool! Now you can take it one step further in overcoming your fear of math: ask the user for their birth year, then calculate their age automatically. 🔢😉

Anyway, what you just did is the foundation for every terminal app like that I'm working on: get input, convert it, then respond. The rest of programming is basically repeating that in more complex ways. 😅 Keep it up!”

Collapse
 
lyop_achayi profile image
TANYA LYOP ACHAYI

Love it, I'm taking notes of all your responses. It means alot to me. Thank you 😊

Collapse
 
daemonic01 profile image
Dominik Kopócs

Glad to know that. 🙂