I just start with python in school, Im not good but I will try to explain my best. I have a program and I want the program to accept decimals insted of just integers. I dont know how. and can you help me to improve my code? Sorry for my english.. A part of the code is swedish but i think you can understand. If you dont just ask me!
Best regards Jesper

```
a = int(input("Skriv ett heltal (ej decimaltal): "))        
b = int(input("Skriv ett till heltal (ej decimaltal): ")) 
print()
print('Kvadrattabell')
print('=============')                      
print('Tal\tKvadrat') 

for i in range(a, b+1):
print("{0}\t{1}".format(i,i*i))

def funktion():
    a = int(input("Skriv ett heltal: "))         
    b = int(input("Skriv ett till heltal: ")) 
for i in range(a, b+1):                      
    print("{0}\t{1}".format(i,i*i))  
while True: 
    svar = input('Vill du köra programmet igen? (J/N) ') 
    if svar == 'J' or svar == 'j'or svar == "Jajemensan" or svar == "Ja" or svar == "Ja! Gör det": 
    funktion() 
if svar == 'N' or svar == 'n' or svar == 'Nej' or svar == "Nejtack" or svar == "Det räcker för idag!": 
    break
print('Ok då. Tack för idag!') 

```