Tag:People’s Literature Publishing House

  • Experiment 2

    Time:2022-4-27

      1 # basic operation exercises: list and list derivation, formatting and type conversion 2 x = list(range(10)) 3 print (‘integer output 1:, end = ”) 4 for i in x: 5 print(i, end=’ ‘) 6 print (‘\ n integer output 2:’, end = ”) 7 for i in x: 8 print (f ‘{I: 02D}’, […]