Title Printing A Sequence of Repeated Numbers
Catalog Type SLCItem
Persistent ID https://pawscomp2.sis.pitt.edu/pcex/index.html?lang=PYTHON&set=py_repeated_sequence
Platform Name PCEX
Features
Description Construct a program that receives an integer N from the user and prints a sequence of space-separated numbers from 1 to N such that each number in the sequence is repeated 5 times.
Keywords for loop, nested loops
Author Roya Hosseini
Institution University of Pittsburgh
Iframe URL https://pawscomp2.sis.pitt.edu/pcex/index.html?lang=PYTHON&set=py_repeated_sequence
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Python
Natural Language en

Preview