Ermi dev
379 subscribers
259 photos
24 videos
7 files
70 links
Download Telegram
Ermi dev
import time def get_valid_input(): while True: try: remaining_time = int(input("enter the time in seconds: ")) return remaining_time except ValueError: print("invalid input") remaining_time = get_valid_input() while True: remaining_time…
To explain
It is very basic code that simulates a rockets launch time counter.
It asks the time to be launched
It counts down
It tells to launch at the right time
It starts counting up until the rocket gets landing place

I used 1 function (to accept the seconds  correctly)
3 conditionals
🔥1
ናሳ ሰማይን በ102 አይነት ቀለማት ለማጥናት SPHEREx የተባለ mission launch ያደርጋል።

የዚህ mission ምክንያት ተመራማሪዎች (Astronomers) ስፔስን በተለያዩ ቀለማት ቢያጠኑ በ cosmic physics እና planetary science ዙሪያ የተሻለ አረዳድ ይኖራል ተብሎ ስለታሰበ ነው።

ቀለማቱም አብዛኞቹ infrared (ከቀይ በታች frequency ያላቸው) ሲሆኑ በዐይን የማይታዩ ናቸው።
SPHEREx ማለት Spectro-Photometer for the History of the Universe, Epoch of Reionization and Ices Explorer ማለት ነው።

ተጨማሪ

•  SPHEREx = ለእንደዚህ አይነት ዓላማ የተሠራ የስፔስ ቴሌስኮፕ ነው።
•  102"ቀለማት": በእውነታው የፍሪኩዌንሲ እና wave length መለዋወጥ እንጂ ቀለም የሚባል ነገር የለም። ስለዚህ በ102 የተለያዩ wavelengths ማለቱ ይቀላል።
•  አብዛኞቹ 'ቀለማት' infrared ናቸው። infra ማለት በታች ማለት ሲሆን ከቀይ ቀለም በታች ፍሪኩዌንሲ ያላቸው ናቸው።
•  Cosmic Physics and Planetary Science: ይህ ሚሽን ዋነኛ ዓላማው የዩኒቨርስን ታሪክ እና የፕላኔቶችን አወቃቀር ማጥናት ነው።
import time
# function to print the time took the device to count up to specified time
elapsed_time = time.time() - start_time
# used to calculate the time difference starting from the program's running time
print(f"\n አሁን ባለበት ሁኔታ መሣርያዎት እስከ {set_time} ለመቁጠር {elapsed_time:.2f} ሰከንድ ፈጅቶበታል።")

def input_set_time():
# function used to take the times in numbers
while True:
  try:
   set_time = int(input("መሣርያዎት እስከ ስንት ድረስ እንዲቆጥር ይፈልጋሉ? (ተመራጩ 10000 ነው።): "))
   return set_time
  except ValueError:
   print("ቁጥር ብቻ ያስገቡ! \n ምሳሌ: 10000")
  
print(f"ሰላም! \n \n ይህ ፕሮግራም የማንኛውንም ዲጂታል መሣርያ ፍጥነት እስከተሰጠው ቁጥር ድረስ በመቁጠር ይለካል።  \n \n አጠቃቀም \n በመጀመርያ መሣርያው እስከ ስንት ድረስ መቁጠር እንዳለበት ይሞሉታል። \n ከዚያም መሣርያው ባለው አቅም በሙሉ እስከተሰጠው ቁጥር ድረስ ይቆጥራል። \n በመጨረሻም ቁጥሩን ለመቁጠር ምን ያህል ሰከንድ እንደወሰደበት ይነግራል። ")
print("")
set_time = input_set_time()
start_time = time.time()
i = 0
while True:
i += 1
print(i)
if i >= set_time:
  break
print_elapsed_time(start_time)
👍1
Forwarded from Solo codes (Brook Solomon)
Had a blast at #devmeetupv3! Especially enjoyed both of panel discussions as well as Hadis's interview. Can't wait for #devmeetupv4!
If you're a dev you can buy a domain from yegara.com at 65% off.
It was 1550....now 550birr only.
Use this code DEVMEETUP
Forwarded from ሳይንስኛ ️️
☑️ #ገንዘብ የሌለው ሰው ኒሊየነር (Nillionaire) ይባላል።

➡️ ምንጭ: ሳይንስኛ መፅሐፍ

© ሳይንስኛ
😁4
One of the developers that I met on #devmeetupv3 is Firaol.

He has trained an AI that is useful for Freshmans.

It provides:
-> Course Support: Generate example problems and solutions for subjects like English, Logic, Maths, Psychology, Geography, Physics, and Physical Fitness.
-> Exam Prep: Access past exam papers, create mock quizzes, and review sample answers.
-> Study Strategies: Get personalized study plans and tips for effective learning.

Examples of how to ask for help:
"guide me" for a general overview.
"Logic Chapter 1" for chapter explanations.

"Page 23 in Logic Chapter 1" to clarify specific content.

"Logic mid exam" for past exam materials.

Here is the link: https://eagledemy-ai.vercel.app/
❤2
Hey #Mondayers

Remember
Your week starts at sunday afternoon.
Make sure to do these things this afternoon :
• prepare for tomorrow
• have little usage of digital devices
• organize your materials for the week
• reflect on the past week and try not to repeat your mistakes
• don't procrastinate your sleeping time
• stay positive
as you know I dont post usually. These 2 days I though I am spamming you. I hope this is my last. Have a nice weekend!
Forwarded from YearProgressET
▓▓▓▓▓▓▓▓░░░░░░░░ ፵፮% (46%)
''እውነት በሌለበት ዓለም ለመኖር አልወለድም''
***
«እሺ ፡ መሬት ፡ አለሽ? »
«የለኝም»
«ቤት  እለሽ ?»
«የለኝም ።»
«ትምህርት እለሽ ?»
«የለኝም ።»
«ታዲያ ፡ ምን ፡ አለሽ ?»
«ምንም ፡ የለኝ ።»
«ታዲያ፡ ድህነት፣ በሽታንና ድንቁርናን ልታወርሺኝ ፡ ነው ፡ ተወለድ የምትይኝ?»
«ዕድልህን ፡ እንዴት ፡ አውቀዋለሁ ፡ ልጄ?» አለች ፡ በትካዜ።»
.
.
አልወለድም
አቤ ጉበኛ
👍2
ከህይወት ከሞት ሲሉኝ ፡ ህይወትን ማለቴ  መምረጤ ይቀራል?

« እና ህይወት ምንድን ነው? »

«መኖር ነዋ!»

« መኖርሳ ምንድን ነው? »

« እሱንማ ምኑን አውቄው ብለህ?  ሲኖሩት ግን ይጥማል ማር ማር ይላል፣ ኑሮ ኑሮ ይላል። »

በኑሮ ለመቆየት ያለኝን ሁሉ እከፍላለሁ።

እሚቀበለኝ ባገኝ ፥  የሌለኝንም እከፍላለሁ።
.
.
.
አምስት ስድስት ሰባት
ስብሐት ገብረ እግዚአብሔር
Forwarded from Henok
Hey everyone, I've been thinking a lot lately about how much I enjoy learning and exploring new things, especially when it comes to physics. And after attending that recent developers' meetup, I felt really inspired by the sense of community and collaborative learning that was there. That got me thinking, what if we could create something similar, but focused on physics right here in Ethiopia?

So, I want to start a physics community. My vision is a place where we can all learn together, no matter our background or level of knowledge. Think of it as a space for hands on experiments, collaborative problem solving, and just generally exploring the fascinating world of physics in a supportive and encouraging environment.

I'm imagining regular or somewhat sporadic (for the time being) voice chats where we can build things, run experiments (computational physics mostly), discuss cool topics in space exploration or game physics even. Really get our hands dirty and learn by doing. And of course, a big part of it will be helping each other out, sharing resources, and just building connections with people who share a similar curiosity.

I know there are a lot of people in Ethiopia who are interested in physics, whether you're a student, a professional, or just someone who enjoys learning. I believe we can create something really special if we work together.

If this sounds interesting to you, I'd love to hear from you. Let me know in the comments what you'd like to see in a physics community. What are you curious about? What kinds of activities would you find most engaging? I'm really excited to see where this goes, and I hope you'll join me on this journey.

DM me @StoicallyAwake if you are interested to be mod.
❤3
Attention! ⚠️
እኔ (ERMI) በዚህ ቻናል ሃሳቦቼን፣ ሥራዎቼንና የተለያዩ መረጃዎችን የማጋራችሁ ይሆናል።

ይህ ቻናል በዋነኛነት በ space exploration እና technology ላይ የሚያተኩር ሲሆን በነዚህ ርዕሶች ዙሪያ ካስፈለገም ጠለቅ ያለ technical ማብራርያ ውስጥ ልንገባ እንችላለን።

እንዲሁም አልፎ አልፎ የኔን progress የማጋራችሁ ይሆናል።
በነዚህ ፊልዶች ዙሪያ ፍላጎት ከሌላችሁ ቻናሉ ለናንተ ስለማይሆን...👋 .....ነገር ግን ፍላጎት ካላችሁ.....each other together 🚀

ይህ ማለት ግን አልፎ አልፎ off-topic አልለቅም ማለት አይደለም።

enjoy✨
👍2
Hello my Ethiopia
🍾2
Guess what