hi. i'm trying to convert program from c++ to pyhton, but i don't have any experience with python. can someone help me?
include <stdio.h>
include <conio.h>
main()
{
float uplata,i;
do
{
printf("Unesite pocetnu uplatu:");
scanf("%f", &uplata);
if(uplata>3000)
{
printf("Pocetna uplata ne smije biti veca od 3000 kuna.");
}
}
while (uplata>3000);
for(i=0;uplata<1000000;i++)
{
uplata=uplata*2 ;
}
printf ("Iznos od milijun kuna na racunu ce biti nakon %.0f godina.", i);
getch();
}