Thanks for checking in, things have been busy lately I'll be back with some content very soon :) (I really appreciate it, genuinely my favorite comment)
Hi Anna, I'm not gonna give the answer away because it seems like you've just given me an idea for the next video! But I will try and point you in a direction. With the reverse operation you will now be trying to identify Roman Numerals in the input string, and then make the appropriate conversion into integers. Hope this helps 😊
i just loved the way u explain and generalize the prob. And the ur way to take up to any prob. superb and keep up ill help and wish ur channel to grow fast and ull get the sky high success soon
Open a command prompt, navigate to the folder in which the python file is then type "py name_of_file.py" or "python name_of_file.py". That should work, if not it means either you haven't installed python or you have not set your PATH, I would suggest googling if the latter is the case.
Hey! We did that so that our list is not extremely long! To build on your example, 3 is written as III which can simply be said to be three ones (I)(I)(I). Similarly, think of the characters we put in the roman array/list as building blocks for all other numbers. Hope this helps :)
Because the order matters (I) (V) can be read as 1, 5 but we need to distinguish between 1,5 and 4. This is also the reason we have the roman numerals for 9, 40, 90 etc.
I am currently trying to do this with any number between 1 and 100,000, however, when trying numbers above 10000, most of them dont properly convert. Any idea on how to fix this?
So as you saw the highest number that can be represented by a single letter is 1,000 (M). This means that the largest number that can be represented using only letters is 3,999 or MMMCMXCIX. To represent higher numbers you need to use the vinculum, but this was not discussed in the video.
Wow! One of the simplest explanation for this I have seen so far!
Thank you so much, glad you liked it!
keep making videos you explain in a really simple and cool way🥰
Thank you so much 😀
i just loved the way u explain and generalize the prob.
coool algorithm breakdown
loved the way u explains and u made a programming very simple thanks a lot! keep going
Thank you so much!
bro, you really helped me. thank you SO MUCH
Thanks a lot man!
how do you come up with the solution ? thanks by the way
you're doing great, keep going!
Thank you so much!
@@kaifk You haven't posted any videos lately, I hope things are going well. 🙌🏻
Thanks for checking in, things have been busy lately I'll be back with some content very soon :) (I really appreciate it, genuinely my favorite comment)
Thanks this was a useful reference!
Great explanation!
Great video! How can I use this info to make a function that converts from roman numerals to integers, so the other way around?
Hi Anna, I'm not gonna give the answer away because it seems like you've just given me an idea for the next video! But I will try and point you in a direction. With the reverse operation you will now be trying to identify Roman Numerals in the input string, and then make the appropriate conversion into integers. Hope this helps 😊
Thank you bhai! This helped me.
Thank you so much sir, gr8 explanation. Waiting 4 more vids. Keep it up
Np dear.... will 100% uplod nd let u no😊😊
Great bro thanku so much.
buddy you are doing really great WORK keep it up buddy........................
Thank you so much!
Hi! Awesome solution. How did u get idea to use numbers like numbers in 2:18 to get the great result?
I'm not sure what you mean but thank you 😅
i just loved the way u explain and generalize the prob. And the ur way to take up to any prob. superb and keep up ill help and wish ur channel to grow fast and ull get the sky high success soon
Thank you so much ♥️
thanks a lot, very helpful
Glad I could help :)
wow i found myfriend
It really helped me😄👍
how can I open this code using command prompt?
Open a command prompt, navigate to the folder in which the python file is then type "py name_of_file.py" or "python name_of_file.py". That should work, if not it means either you haven't installed python or you have not set your PATH, I would suggest googling if the latter is the case.
I literally spent the last 3 hours trying to figure this shit out. 😐 thanks
the not equal to operator (!)is giving error
Can you post your code and logs so we can have a look?
In Roman array why we took some selected roman number and not other as there is no III (3) etc
Hey! We did that so that our list is not extremely long! To build on your example, 3 is written as III which can simply be said to be three ones (I)(I)(I). Similarly, think of the characters we put in the roman array/list as building blocks for all other numbers. Hope this helps :)
@@kaifk then why we put IV it can also be written (I)(V) ?
Because the order matters (I) (V) can be read as 1, 5 but we need to distinguish between 1,5 and 4. This is also the reason we have the roman numerals for 9, 40, 90 etc.
I am currently trying to do this with any number between 1 and 100,000, however, when trying numbers above 10000, most of them dont properly convert. Any idea on how to fix this?
Check this out: www.romannumerals.org/blog/which-is-the-biggest-number-in-roman-numerals-6
@@kaifk thanks, managed to get it to work now 😁
it says invalid syntax for i=12 is there anyone can help?
Link your code
How to convert number to English word
CAN I GET DRY CODE OF THESE PROGRAM ?
The code in the video is linked in the description.
Amazing sir
Thank you so much♥
Thank you!
Thank you
Write a program that asks the user to input a whole number. Then, tell each place values of each digit.
This is a great idea! Thank you
Can define a dictionary instead on 2 list?
btw it was really really helpfull
Yes, you're right! Using a dictionary is a great idea but I'm saving dictionaries for another video 😋
Giga Chad right there
Nice
Thanks man! You the man bro! Jabarjast! Chumma!
Disclaimer: Not gay
It's just awesome but we can't convert 10,000 to roman through this code. Can you please explain for this process to it very helpful to everyone
So as you saw the highest number that can be represented by a single letter is 1,000 (M). This means that the largest number that can be represented using only letters is 3,999 or MMMCMXCIX. To represent higher numbers you need to use the vinculum, but this was not discussed in the video.
Bro You look like ram potheneni who is Telugu actor
Shen the hell did you describe i= 12
5:57
You can just import the roman library then problem solved
Wow magic.! we want program not a discussion if what is roman numeral. wtf.!
All solutions are always in the description.
Hint: that's where you'll find the program/code, the video is where you'll find the discussion. :)
You are from which country 😁
Just asking😄😃😀🤗
India :)
👍🏽👍🏽👍🏽👍🏽
🙏🙏