PFP191_-_PE_-_25SU_4020.webp
G

PFP191_-_PE_-_25SU_4020.webp

  • Media owner Gojo2001
  • Ngày thêm
The given Q2.py file contains statements to input a sentence string. You should write statements to
✓ Kizspy. me reverses all of the words in string.
Notes:
-Do not edit given statements in the main function.
- You can create new functions if you see it is necessary.
Sample input and output:
Enter a string: PFP191 and PRO192 Enter a string: I learn PFP191
Output for marking:
OUTPUT:
PRO192 and PFP191
Output for marking:
OUTPUT:
PFP191 learn I
Question 3: (2.5 marks)
The given file Q3.py already contains statements to input data for the list. You should write statements
to count the primes number in the list.
Notes:
-Do not edit given statements in the main function.
- You can create new functions if you see they are necessary.
Sample input and output:
Zoom
Al
..
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
PFP191
Thêm bởi
Gojo2001
Ngày thêm
Lượt xem
2,020
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom