Hello! Any help with this question would be great appreciated! If you could include screenshots on the code I would really appreciate it! Thank you!! 1. Please answer the following with Python code: -Write a for loop (using the range() function) that will print the integers 10,15,20,25,30,…50 on one line separated by spaces. -Write Python code that will open a file named txt and write your name to the first line in the file and your age (as an integer) to the second line in the file.
Hello! Any help with this question would be great appreciated! If you could include screenshots on the code I would really appreciate it! Thank you!!
1. Please answer the following with Python code:
-Write a for loop (using the range() function) that will print the integers 10,15,20,25,30,…50 on one line separated by spaces.
-Write Python code that will open a file named txt and write your name to the first line in the file and your age (as an integer) to the second line in the file.
-Two prices have already been assigned in a
Step by step
Solved in 5 steps with 4 images