Lösung LU02.A02

def main():
    # write your code below this line
    inString = input('Give a string:\n')
    inInteger = int(input('Give an integer:\n'))
    inFloat = float(input('Give a float:\n'))
    print('You gave the string ' + inString)
    print('You gave the integer ' + str(inInteger))
    print('You gave the float ' + str(inFloat))
 
if __name__ == '__main__':
    main()
  • modul/archiv/m319python/learningunits/lu02/loesungen/differentinputs.txt
  • Last modified: 2023/11/13 08:56
  • by 127.0.0.1