top of page

NATO alphabet

  • Writer: 라임 샹큼
    라임 샹큼
  • Mar 27
  • 1 min read
import pandasdata = pandas.read_csv('nato_phonetic_alphabet.csv')phonetic_dict = {key.letter:key.code for (row,key) in data.iterrows()}print(phonetic_dict)name = input('Enter a word:\n')for letter in name:    capital = letter.upper()    print(f'{capital} for {phonetic_dict[capital]}')

I tried using the pandas library and the iterrows function. I must admit using the iterrrows function is hard to grasp at first.


 
 
 

Recent Posts

See All
Stock market price alerter

Lately I’ve been getting API data from existing data and using it to get actual live data. This is done by importing requests.  This was...

 
 
 
Making a better quiz ui

I reencountered classes again. I remember I had a a hard time learning how classes were different from simply defining functions. It was...

 
 
 
Getting quotes and displaying them

from tkinter import * import requests def get_quote():     quote_url = requests.get(url=' https://api.kanye.rest ')     quote_json =...

 
 
 

1 Comment


COP
COP
May 10

Calculate Your Age Instantly with Our Smart Age Calculator! 🧮

Ever wondered exactly how old you are — not just in years, but in months, days, hours, or even seconds? Our Age Calculator is the easiest and most accurate way to find out!

Whether you're planning a birthday party, tracking milestones, or just having fun with friends, our tool delivers precise results in real time. It's more than just a number — it's your life's timeline!

🔍 Why Use Our Online Age Calculator?

Instant & Accurate: Just input your date of birth, and get a detailed breakdown of your age in years, months, days, hours, minutes, and seconds — updated live.✅ No Hassle, No Sign-Up: Use it right away without creating…

Like

© 2024 by GifTED. Powered and secured by Wix

bottom of page